aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorpjotrp2016-12-11 11:16:05 +0000
committerpjotrp2016-12-11 11:16:05 +0000
commit462032fbc6261950661eb8437957a715a6844efb (patch)
tree5d6bf9f5e294777d8a7f3ee5ce830f51bf904163 /gn
parent93882785222202358ae73b9b01b951a563445fcf (diff)
downloadguix-bioinformatics-gn-deploy.tar.gz
ldc: updated rdmd2gn-deploy
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/ldc.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gn/packages/ldc.scm b/gn/packages/ldc.scm
index 90fb7da..04eca5b 100644
--- a/gn/packages/ldc.scm
+++ b/gn/packages/ldc.scm
@@ -183,3 +183,44 @@
"0jp54hyi75i9g41rvgmm3zg21yzv57q8dghrhb432rb0n9j15mbp"))))))))
(define-public ldc ldc-1.1.0-beta4)
+
+;; https://github.com/dlang/tools/archive/v2.072.1.tar.gz
+(define-public rdmd
+ (package
+ (name "rdmd")
+ (version "v2.072.1") ;; remove v when putting in mainline
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/dlang/tools/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ryn4fv1mj8c8d7y4lrr43baahl3z7sk5bryj9kd829paz573va6"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check) ; There is no Makefile, so there's no 'make check'.
+ (replace
+ 'build
+ (lambda _
+ (zero? (system* "ldc2" "rdmd.d"))))
+ (replace
+ 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+ (install-file "rdmd" bin)))))))
+ (native-inputs
+ `(("ldc" ,ldc)))
+ (home-page "https://github.com/D-Programming-Language/tools/")
+ (synopsis "Specialized equivalent to 'make' for the D language")
+ (description
+ "rdmd is a companion to the dmd compiler that simplifies the typical
+edit-compile-link-run or edit-make-run cycle to a rapid edit-run cycle. Like
+make and other tools, rdmd uses the relative dates of the files involved to
+minimize the amount of work necessary. Unlike make, rdmd tracks dependencies
+and freshness without requiring additional information from the user.")
+ (license license:boost1.0)))