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>
This commit is contained in:
Nicolas Graves 2025-09-06 16:59:09 +02:00 committed by Sharlatan Hellseher
parent 774bb0f59b
commit 1a4c0024af
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -37799,20 +37799,22 @@ and has plugins for many other formats.")
(name "nbss-upload") (name "nbss-upload")
(version "0.1") (version "0.1")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "nbss-upload" version)) (uri (git-reference
(sha256 (url "https://github.com/notebook-sharing-space/nbss-upload")
(base32 "0jhyfm7w2ssknmh9789fmpnf79xr7sxbdcjwak6hfha6qparvk38")))) (commit (string-append "v" version))))
(build-system python-build-system) (file-name (git-file-name name version))
(propagated-inputs (sha256
(list python-requests)) (base32 "0cxj4zqcxzi3c5kw649jxmdpnbyrkrwx4licxdg6zc317v8gxw54"))))
(arguments (build-system pyproject-build-system)
`(#:tests? #f)) ;no tests (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") (home-page "https://github.com/notebook-sharing-space/nbss-upload")
(synopsis "Upload notebooks to a notebooksharing.space instance") (synopsis "Upload notebooks to a notebooksharing.space instance")
(description (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.") notebooksharing.space instance.")
(license license:bsd-3))) (license license:bsd-3)))