diff options
author | Pjotr Prins | 2015-12-26 11:18:43 +0300 |
---|---|---|
committer | Pjotr Prins | 2015-12-26 11:18:43 +0300 |
commit | 3e86c7b6fcb2c419832cda2bc7794b1ccecdef9a (patch) | |
tree | acc2e0d0ef0bc83a013502e73143d0cd67b9bbeb /gn/packages | |
parent | 459463158268590e054eed0a1302f1a50b5fcbc2 (diff) | |
download | guix-bioinformatics-3e86c7b6fcb2c419832cda2bc7794b1ccecdef9a.tar.gz |
ldc: added dmd-testsuite
Diffstat (limited to 'gn/packages')
-rw-r--r-- | gn/packages/dlanguage.scm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gn/packages/dlanguage.scm b/gn/packages/dlanguage.scm index 2806bc7..d580bc9 100644 --- a/gn/packages/dlanguage.scm +++ b/gn/packages/dlanguage.scm @@ -59,6 +59,14 @@ "druntime-src.tar.gz") (zero? (system* "tar" "xvzf" "druntime-src.tar.gz" "--strip-components=1"))) ))) ;; add-after + (add-after 'unpack 'unpack-dmd-testsuite-source + (lambda* (#:key source inputs #:allow-other-keys) + (begin + (with-directory-excursion "tests/d2/dmd-testsuite" + (copy-file (assoc-ref inputs "dmd-testsuite-src") + "dmd-testsuite-src.tar.gz") + (zero? (system* "tar" "xvzf" "dmd-testsuite-src.tar.gz" "--strip-components=1"))) + ))) ;; add-after ) ;; modify-phases )) ; arguments @@ -83,6 +91,13 @@ (sha256 (base32 "0z4mkyddx6c4sy1vqgqvavz55083dsxws681qkh93jh1rpby9yg6")))) + ("dmd-testsuite-src" ;; runtime/druntime + ,(origin + (method url-fetch) + (uri (string-append "https://github.com/ldc-developers/dmd-testsuite/archive/ldc-v" version ".tar.gz")) + (sha256 + (base32 + "0yc6miidzgl9k33ygk7xcppmfd6kivqj02cvv4fmkbs3qz4yy3z1")))) )) (home-page "https://github.com/ldc-developers/ldc") (synopsis "LLVM compiler for the D programming language.") |