diff options
-rw-r--r-- | gnu/packages/python-check.scm | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 98e13286eb..1fe0697e63 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1570,19 +1570,21 @@ flake8 to check PEP-8 naming conventions.") (version "1.2.0") (source (origin - (method url-fetch) - (uri (pypi-uri "pyannotate" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dropbox/pyannotate") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "16bm0mf7wxvy0lgmcs1p8n1ji8pnvj1jvj8zk3am70dkp825iv84")))) + (base32 "0gmhl4ldan0p774dhrs9a7bmjjphlsy3hhfqq84gak15rdjs59ga")))) (build-system pyproject-build-system) - (native-inputs - (list python-setuptools python-wheel)) - (propagated-inputs - (list python-mypy-extensions python-six)) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-mypy-extensions python-six)) (home-page "https://github.com/dropbox/pyannotate") (synopsis "Auto-generate PEP-484 annotations") - (description "This package, PyAnnotate, is used to auto-generate PEP-484 -annotations.") + (description + "This package, PyAnnotate, is used to auto-generate PEP-484 annotations.") (license license:asl2.0))) (define-public python-pycotap |