Browse Source

gn: update ratspub to 0.4.5.

pull/8/head
Efraim Flashner 2 years ago
parent
commit
8ceb607527
  1. 16
      gn/packages/javascript.scm
  2. 9
      gn/packages/ratspub.scm

16
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)

9
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)

Loading…
Cancel
Save