aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/javascript.scm16
-rw-r--r--gn/packages/ratspub.scm9
2 files changed, 22 insertions, 3 deletions
diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm
index 83b5ba1..cef9393 100644
--- a/gn/packages/javascript.scm
+++ b/gn/packages/javascript.scm
@@ -85,6 +85,22 @@ for programmers and scientists to use graph theory in their apps, whether it's
for server-side analysis in a Node.js app or for a rich user interface.")
(license license:expat)))
+(define-public javascript-cytoscape-3.17
+ (package
+ (inherit javascript-cytoscape)
+ (name "javascript-cytoscape")
+ (version "3.17.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cytoscape/cytoscape.js")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0fp4bv3gq9vj0517h61jvg7bxk8fyrhrq0jr1v4d0lzp164sgxln"))))))
+
(define-public javascript-cytoscape-2
(package
(inherit javascript-cytoscape)
diff --git a/gn/packages/ratspub.scm b/gn/packages/ratspub.scm
index 07b7d84..85c73c7 100644
--- a/gn/packages/ratspub.scm
+++ b/gn/packages/ratspub.scm
@@ -20,7 +20,7 @@
(define-public ratspub
(package
(name "ratspub")
- (version "0.4.3")
+ (version "0.4.5")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -35,7 +35,7 @@
#t))
(sha256
(base32
- "03v1nk58yhi7rsy6b23hlc1xd5i6lvqla25r9l4b1jcmzraaci8l"))))
+ "1y89rkqdxcnl2jjsy1wfp9p8qkgh6nzqs1r37wyhc8y7r3dva7kf"))))
(build-system python-build-system)
(arguments
`(#:tests? #f ; no test suite
@@ -43,6 +43,9 @@
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
+ (add-after 'unpack 'make-files-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))))
(add-after 'unpack 'patch-datadir
(lambda _
(substitute* "server.py"
@@ -129,7 +132,7 @@
("tensorflow" ,tensorflow)))
(native-inputs
`(("bootstrap" ,web-bootstrap)
- ("cytoscape" ,javascript-cytoscape)
+ ("cytoscape" ,javascript-cytoscape-3.17)
;("cytoscape-svg" ,js-cytoscape-svg-0.3.1) ; TODO
("cytoscape-svg" ,js-cytoscape-svg-vendor-0.3.1)
("font-awesome" ,web-font-awesome)