gnu: python-nb-clean: Update to 4.0.1.

* gnu/packages/python-xyz.scm (python-nb-clean): Update to 4.0.1.
[source]: Fetch from GitHub.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-poetry-core, python-pytest,
python-pytest-cov, python-pytest-mock.

Change-Id: I9eb94f5411fd0686f21d6546cd8619d8a9680b6e
This commit is contained in:
Vinicius Monego 2025-06-27 20:05:02 -03:00
parent b6c383eb5b
commit a56b0f76c0
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -18902,14 +18902,21 @@ Jupyter Notebook format and Python APIs for working with notebooks.")
(define-public python-nb-clean
(package
(name "python-nb-clean")
(version "2.1.0")
(version "4.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nb-clean" version))
(method git-fetch) ; no tests in PyPI
(uri (git-reference
(url "https://github.com/srstevenson/nb-clean")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "01qvk9n7rx15dhc23m8bj9bw5wdyxh6y18c5fm8hllmrd3ndsx14"))))
(build-system python-build-system)
(base32 "1pa4m1qn7gx77lg3vy7y7vlyl45cg9ai9z93ds9ax108mbnrbdw7"))))
(build-system pyproject-build-system)
(native-inputs (list python-poetry-core
python-pytest
python-pytest-cov ; runs by default
python-pytest-mock))
(propagated-inputs (list python-nbformat))
(home-page "https://github.com/srstevenson/nb-clean")
(synopsis "Clean Jupyter notebooks for versioning")