aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorjgart2022-04-07 22:16:49 -0400
committerjgart2022-04-07 22:17:14 -0400
commitea8fe1e0bcaa942095a68ab4ebe62a9693b1d47c (patch)
treef904659ba1e12a224b90c05d8a4b4d83ae470c00 /gn
parent540f9ed1ad9109424ca5a8899b64ffaec1e5fa0a (diff)
downloadguix-bioinformatics-ea8fe1e0bcaa942095a68ab4ebe62a9693b1d47c.tar.gz
binderlite: add nb-upload
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/binderlite.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gn/packages/binderlite.scm b/gn/packages/binderlite.scm
index 22ebe05..7550d33 100644
--- a/gn/packages/binderlite.scm
+++ b/gn/packages/binderlite.scm
@@ -1,11 +1,13 @@
(define-module (gn packages binderlite)
#:use-module (gnu packages)
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
+ #:use-module (guix build-system asdf)
#:use-module (guix build-system python))
(define-public python-jgart-giturlparse
@@ -33,3 +35,30 @@
will be rewritten in Common Lisp. If we stay with Python I recommend
switching this library out for @code{python-furl} or similar."))))
+(define-public nb-upload
+ (let ((commit "7bf2ea910e88e3b5651daff943493ba95fc78e08")
+ (revision "0"))
+ (package
+ (name "nb-upload")
+ (version (git-version "20220407" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.genenetwork.org/jgart/nb-upload")
+ (commit commit)))
+ (file-name (git-file-name name commit))
+ (sha256
+ (base32
+ "0q7vvzjirrbls3wm6hhzfi2msdai65h9rdjaq6i215a3p135a9m2"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:tests? #f)) ; There are no tests.
+ (inputs (list python-requests))
+ (synopsis "Upload notebooks via CLI")
+ (description
+"@code{nb-upload} allows a user to upload notebooks to a @code{nb}
+instance.")
+ (home-page "https://git.genenetwork.org/jgart/nb-upload/")
+ (license license:unlicense))))
+