summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-09-06 16:59:09 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-06 22:08:08 +0100
commit1a4c0024af9fcbb886a235074000519c0f43a077 (patch)
tree9adc2d1b466cb945ea6e0dad203e4208b0539228 /gnu/packages/python-xyz.scm
parent774bb0f59b0e50f63309b32278a3637f06042ac0 (diff)
gnu: nbss-upload: Switch to pyproject.
* gnu/packages/python-xyz.scm (nbss-upload): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Reorder, improve style. [native-inputs]: Add python-setuptools-next. Change-Id: If24058b1711447f6478c255b726e8f75ce1bfae5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 13 insertions, 11 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 74bc4189d2..5f9946ad46 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37799,20 +37799,22 @@ and has plugins for many other formats.")
(name "nbss-upload")
(version "0.1")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "nbss-upload" version))
- (sha256
- (base32 "0jhyfm7w2ssknmh9789fmpnf79xr7sxbdcjwak6hfha6qparvk38"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-requests))
- (arguments
- `(#:tests? #f)) ;no tests
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/notebook-sharing-space/nbss-upload")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0cxj4zqcxzi3c5kw649jxmdpnbyrkrwx4licxdg6zc317v8gxw54"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;no tests
+ (native-inputs (list python-setuptools-next))
+ (propagated-inputs (list python-requests))
(home-page "https://github.com/notebook-sharing-space/nbss-upload")
(synopsis "Upload notebooks to a notebooksharing.space instance")
(description
-"Upload notebooks as @code{.ipynb}, @code{.rmd}, and @code{.html} to a
+ "Upload notebooks as @code{.ipynb}, @code{.rmd}, and @code{.html} to a
notebooksharing.space instance.")
(license license:bsd-3)))