M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +8 -4
@@ 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