aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorpjotrp2017-02-23 15:23:15 +0000
committerpjotrp2017-02-23 15:23:15 +0000
commit27ae1740646553e61cb485e3d9276b8f85e56c7b (patch)
tree54d415382d0ed05a5c82e03644524e801aa8ac4e /gn/packages
parent76dae6bcf47a1a127f53b43fc96d73ed5048c5a9 (diff)
downloadguix-bioinformatics-27ae1740646553e61cb485e3d9276b8f85e56c7b.tar.gz
shunit2: installs and runs
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/shell.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gn/packages/shell.scm b/gn/packages/shell.scm
index 185ac17..7b2656b 100644
--- a/gn/packages/shell.scm
+++ b/gn/packages/shell.scm
@@ -11,7 +11,7 @@
(let ((commit "60dd60bcd1573befe38465010263ab242e55811d"))
(package
(name "shunit2")
- (version (string-append "2.1.7-" (string-take commit 7)))
+ (version (string-append "2.0.4-" (string-take commit 7)))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -31,9 +31,14 @@
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
- (write (string-append "****************" bin))
- (copy-file "2.1/src/shunit2" (string-append bin "/shunit2"))
+ (bin (string-append out "/bin"))
+ (shunit2-exec (string-append bin "/shunit2"))
+ )
+ (write (file-exists? "source/2.0/src/shell/shunit2"))
+ (write (format #t "build directory: ~s~%" (getcwd)))
+ (mkdir-p bin)
+ (copy-file "source/2.0/src/shell/shunit2" shunit2-exec)
+ (chmod shunit2-exec #o555)
#t
))))
))