about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2016-02-18 18:04:14 +0100
committerPjotr Prins2016-02-18 18:04:14 +0100
commit6f755a05f049bba9a9438761641b4396dfec0d49 (patch)
treed4d03ae9b74e05eefd3e96c6b72be0fb7b7870fe
parenteb3d652afc40645db643a0b8df8a9598338ffea0 (diff)
parent5dbfda7d08ca718712a4c86bc3b7a6219843527a (diff)
downloadguix-bioinformatics-6f755a05f049bba9a9438761641b4396dfec0d49.tar.gz
Merge pull request #2 from roelj/master
Add rdmd
-rw-r--r--gn/packages/bioinformatics.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index 0c4436c..b7384ef 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -417,6 +417,45 @@ association studies (GWAS).")
     (description "Genenetwork installation sumo.")
     (license license:agpl3+))))
 
+(define-public rdmd
+  (package
+    (name "rdmd")
+    (version "20160217")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/D-Programming-Language/tools.git")
+                    (commit "4dba6877c481c1a911a7d50714da8fbd80022f0e")))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "1pcx5lyqzrip86f4vv60x292rpvnwsq2hvl1znm9x9rn68f34m45"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete '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")))
+              (mkdir-p bin)
+              (copy-file "rdmd" (string-append bin "/rdmd"))))))))
+    (native-inputs
+     `(("gcc" ,gcc)
+       ("ldc" ,ldc)))
+    (home-page "https://github.com/D-Programming-Language/tools/")
+    (synopsis "Extra tools for building D programs")
+    (description
+     "This repository hosts various tools redistributed with DMD or used
+internally during various build tasks.")
+    (license license:boost1.0)))
+
 (define-public sambamba
   (package
     (name "sambamba")
@@ -442,6 +481,7 @@ association studies (GWAS).")
        ;;("phobos2-ldc" ,phobos2-ldc)
        ("lz4" ,lz4)
        ("gcc" ,gcc)
+       ("rdmd" ,rdmd)
        ("htslib-src"
         ,(origin
            (method url-fetch)
@@ -502,6 +542,7 @@ markdup, and depth.")
              version ".tar.gz"))
        (sha256
         (base32 ""))))
+    (build-system gnu-build-system)
     (home-page "http://broadinstitute.github.io/picard/")
     (synopsis "A set of Java command line tools for manipulating high-throughput
 sequencing data (HTS) data and formats")