aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-01-03 00:33:25 +0000
committerArun Isaac2024-01-03 00:33:25 +0000
commit250f5bb11be7596d77cb8993afb3cc7e741530d3 (patch)
tree41c09228f7d2bfe933234898430a8f20e48c743e
parent4ba4df365b6c5764c90e3ff939648f11110e04e5 (diff)
downloadguix-bioinformatics-250f5bb11be7596d77cb8993afb3cc7e741530d3.tar.gz
gn: genenetwork2: Update to 3.11-4.c1d377e.
* gn/packages/genenetwork.scm (genenetwork2): Update to 3.11-4.c1d377e.
-rw-r--r--gn/packages/genenetwork.scm27
1 files changed, 13 insertions, 14 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index ec0426b..1ad63c0 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -186,10 +186,11 @@
(license license:agpl3+))))
(define-public genenetwork2
- (let ((commit "ff679636d3ee9ae2388fab3fe5d091ef2f00a8e3"))
+ (let ((commit "c1d377ec86b902f76e47fc4506a9ff260d788082")
+ (revision "4"))
(package
(name "genenetwork2")
- (version (git-version "3.11" "3" commit))
+ (version (git-version "3.11" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
@@ -198,7 +199,7 @@
(file-name (string-append name "-" version))
(sha256
(base32
- "0ap7q7v42c5sg4kjy76zdn6h6w5a3f534i5644rya5a1akmss7hg"))))
+ "03l01nr0pg52pdnc6sajnsvylw61j68x6zz6mi5ygkimbj4093sa"))))
(native-inputs
(list graphviz))
(propagated-inputs
@@ -305,19 +306,17 @@
#:phases
#~(modify-phases %standard-phases
(delete 'reset-gzip-timestamps)
- (add-after 'install 'install-bundled-fonts
- (lambda _
- ;; Install bundled fonts.
- (for-each (lambda (font-file)
- (install-file font-file (string-append #$output "/share/fonts/")))
- (find-files "gn2/wqflask/static/fonts"
- "\\.ttf$"))))
- (add-after 'unpack 'fix-font-paths
- (lambda _
- ;; Set absolute store paths to installed bundled fonts.
+ (add-after 'unpack 'fix-paths-to-static-files
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ ;; Set absolute store paths to installed static files.
(substitute* "gn2/wqflask/marker_regression/display_mapping_results.py"
(("\\./gn2/wqflask/static/fonts")
- (string-append #$output "/share/fonts")))))
+ (string-append (site-packages inputs outputs)
+ "/gn2/wqflask/static/fonts")))
+ (substitute* "gn2/wqflask/views.py"
+ (("\\./gn2/wqflask/static/gif/error")
+ (string-append (site-packages inputs outputs)
+ "/gn2/wqflask/static/gif/error")))))
(add-after 'unpack 'fix-paths-scripts
(lambda _
(substitute* "bin/genenetwork2"