summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-31 22:25:09 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-07 18:33:35 +0100
commitc43023090a255cc1f3b8bd947351d98d91adce4b (patch)
treef5bb83f42f87a22f41f61723e63d3804b144aab5 /gnu
parent99f7b8fcf903ac89f4959dc960cb91ccd25402e1 (diff)
gnu: python-nbsphinx: Switch to pyproject.
* gnu/packages/sphinx.scm (python-nbsphinx): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: I37beb7447618f8aec8f8b6df897aa86ac454dd2a Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sphinx.scm20
1 files changed, 13 insertions, 7 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 649bb33cf43..0808656e72e 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1278,13 +1278,17 @@ Syntax Tree} at different stages: before transforms, after transforms, etc.")
(name "python-nbsphinx")
(version "0.8.8")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "nbsphinx" version))
- (sha256
- (base32
- "1v1lzkfx2lslhslqb110zxmm4dmdg6hs2rahf713c2rk9f10q2dm"))))
- (build-system python-build-system)
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spatialaudio/nbsphinx")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0s98kab9jddy4jskllqcmwr222i85a25asi78f8nf0cpqbsvy1k6"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; No tests upstream.
(propagated-inputs
(list python-docutils
python-jinja2
@@ -1292,6 +1296,8 @@ Syntax Tree} at different stages: before transforms, after transforms, etc.")
python-nbformat
python-sphinx
python-traitlets))
+ (native-inputs
+ (list python-setuptools python-wheel))
(home-page "https://nbsphinx.readthedocs.io/")
(synopsis "Jupyter Notebook Tools for Sphinx")
(description "@code{python-nbsphinx} is a Sphinx extension that