From ea8fe1e0bcaa942095a68ab4ebe62a9693b1d47c Mon Sep 17 00:00:00 2001 From: jgart Date: Thu, 7 Apr 2022 22:16:49 -0400 Subject: binderlite: add nb-upload --- gn/packages/binderlite.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gn/packages') 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)))) + -- cgit v1.2.3