diff options
author | Frederick Muriuki Muriithi | 2024-07-08 16:43:49 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-07-08 16:44:48 -0500 |
commit | f03e170d6d9bb46cf2946f260d4e7946d09ac058 (patch) | |
tree | 2d5f5381e2e5e2ebfd28ff7d3ddc74c034fe6b5d | |
parent | 20fc9d23038f726b4b7426612f6cbcd3c96e2e1f (diff) | |
download | guix-bioinformatics-update-gn3-for-production-container.tar.gz |
gn-uploader: Add node-resumablejs as a dependency.update-gn3-for-production-container
-rw-r--r-- | gn/packages/genenetwork.scm | 4 | ||||
-rw-r--r-- | gn/packages/node.scm | 23 |
2 files changed, 26 insertions, 1 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 7e55964..fdb614a 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -51,6 +51,7 @@ #:use-module (gn packages crates-io) #:use-module (gn packages gemma) #:use-module (gn packages javascript) + #:use-module (gn packages node) #:use-module (gn packages python) #:use-module (gn packages statistics) #:use-module (gn packages web) @@ -456,7 +457,8 @@ python-jsonpickle python-mysqlclient javascript-jquery - javascript-bootstrap)) + javascript-bootstrap + node-resumablejs)) (synopsis "GeneNetwork Quality Control Application") (description "gn-uploader is a service allowing upload of new data into GeneNetwork, diff --git a/gn/packages/node.scm b/gn/packages/node.scm index 4d338cc..4e12781 100644 --- a/gn/packages/node.scm +++ b/gn/packages/node.scm @@ -1584,3 +1584,26 @@ from C are supported as well as some other extensions from Ruby.") (synopsis "the mighty option parser used by yargs") (description "the mighty option parser used by yargs.") (license license:isc))) + + +(define-public node-resumablejs + (let ((commit "b7580789f4d19bb180c08389538e0733f0f811d8")) + (package + (name "node-resumablejs") + (version (string-append "1.1.0-" (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/23/resumable.js.git") + (commit commit))) + (file-name (git-file-name name version )) + (sha256 + (base32 + "0d0883jmsr2ydchx10y9a2vcijix7g65k1243s5ryl3i3jacm1bm")))) + (build-system node-build-system) + (arguments '(#:tests? #f)) + (home-page "https://github.com/23/resumable.js/") + (synopsis "JavaScript library providing multiple simultaneous, stable and resumable uploads via the HTML5 File API") + (description "A JavaScript library providing multiple simultaneous, stable and resumable uploads via the HTML5 File API.") + (license license:expat)))) |