about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/genenetwork.scm4
-rw-r--r--gn/packages/node.scm23
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))))