aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorpjotrp2017-09-12 04:04:55 +0000
committerpjotrp2017-09-12 04:04:55 +0000
commitd8641c1120d0c70f66e4a772526564615e04481b (patch)
treeeb6b11b3e68962b1cc109f11b39a94eb3859f948 /gn/packages
parent25ea4dc46c0acdba0114bdcbdb5d63b0cac8bb44 (diff)
downloadguix-bioinformatics-d8641c1120d0c70f66e4a772526564615e04481b.tar.gz
Builds yaj
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/yaj.scm33
1 files changed, 15 insertions, 18 deletions
diff --git a/gn/packages/yaj.scm b/gn/packages/yaj.scm
index 90959c7..b38adc3 100644
--- a/gn/packages/yaj.scm
+++ b/gn/packages/yaj.scm
@@ -65,26 +65,23 @@
(build-system trivial-build-system)
(native-inputs `(("unzip" ,unzip)
("source" ,source)))
- (inputs `(("python" ,python)))
- ; ("python2-flask" ,python2-flask)
- ; ("python2-jinja2" ,python2-jinja2)
- ; ("python2-mak" ,python2-mak)
- ; ))
-
- ; (arguments
- ; `(#:modules ((guix build utils))
- ; #:python ,python-2
- ; #:builder #f))
+ (inputs `(("python" ,python)
+ ("python2-flask" ,python2-flask)
+ ("python2-jinja2" ,python2-jinja2)
+ ; ("python2-mak" ,python2-mak)
+ ))
(arguments
`(#:modules ((guix build utils))
- #:builder (begin
- (use-modules (guix build utils))
- (let ((source (assoc-ref %build-inputs "source"))
- (unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip"))
- )
- (and (mkdir "db")
- (zero? (system* unzip source "-d" "db"))
- (chdir "db"))))))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let ((target (string-append (assoc-ref %outputs "out")
+ "/share")))
+ (write target)
+ (mkdir-p target)
+ ; (copy-recursively (assoc-ref %build-inputs "source") target)
+ #t))))
+
(home-page "http://github.com/pjotrp/yaj/")
(synopsis "Yet another journal")
(description "YAJ.")