summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-10-05 21:32:26 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-07 13:34:12 +0100
commit5eff416f5d91b6e3b145c0f2892bc74820265c0d (patch)
tree23b379feb2a125a7594b6c7a519e621a0f36ec98 /gnu/packages/python-xyz.scm
parentd98dd5855100908ab45d3df841f2c2f777664c7e (diff)
gnu: python-flake8-docstrings: Fix build.
* gnu/packages/python-xyz.scm (python-flake8-docstrings): [source]: Switch to git-fetch. [arguments] <#:flags>: Set to #f because there are no tests. [native-inputs]: Remove python-wheel. Change-Id: I1ac1d3c673f9949c8f15037e50d96b075212af32 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 70d656f974..ffd3328cbb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -858,13 +858,17 @@ system.")
(version "1.7.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "flake8_docstrings" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pycqa/flake8-docstrings")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1bs1m5kqw25sn68f06571q5s3aaxd06mv7k952bqdrhnvi4cg32c"))))
+ (base32 "0a9cx11rz9asb4xkz7dg65kx8mpa74xqh5qp3lsiy74y4idwp9qi"))))
(build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;there are no tests
(propagated-inputs (list python-flake8 python-pydocstyle))
- (native-inputs (list python-setuptools python-wheel))
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/pycqa/flake8-docstrings")
(synopsis "Extension for flake8 which uses pydocstyle to check docstrings")
(description