summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
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