aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/javascript.scm
diff options
context:
space:
mode:
authorpjotrp2017-05-17 10:31:43 +0000
committerpjotrp2017-05-17 10:31:43 +0000
commitea1b0a84e6560c51622f3c79e8d02df57e7288a6 (patch)
tree1dc7a2e753a54060cd0cd8e8c8df2b9bd09a6f0f /gn/packages/javascript.scm
parent0ea281e5fe1b9665af1c33625409f01ce7eb499e (diff)
downloadguix-bioinformatics-ea1b0a84e6560c51622f3c79e8d02df57e7288a6.tar.gz
js: install in share/genenetwork2/javascript
Diffstat (limited to 'gn/packages/javascript.scm')
-rw-r--r--gn/packages/javascript.scm10
1 files changed, 3 insertions, 7 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index 38bc73f..ff1190a 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -24,23 +24,19 @@
(base32
"05w2wiqw84lb778nkivn421m1kk6h66xk4cjjqng1bri3d2kfzjv"))))
(build-system trivial-build-system)
- (native-inputs `(
- ("source" ,source)))
+ (native-inputs `(("source" ,source)))
(arguments
`(#:modules ((guix build utils))
#:builder
(let* ((out (assoc-ref %outputs "out"))
- (name "gn2_data_s")
- (tarfn (string-append name ".tar"))
- (targetdir (string-append out "/share/genenetwork2/"))
+ (name "Twitter-Post-Fetcher")
+ (targetdir (string-append out "/share/genenetwork2/javascript/" name))
)
(begin
(use-modules (guix build utils))
(let ((source (assoc-ref %build-inputs "source"))
)
(and
- ; (zero? (system* lz4unpack source "-d" tarfn))
- ; (zero? (system* tar "xf" tarfn))
; (mkdir-p targetdir)
(copy-recursively source targetdir)
))))))