aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/python.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-09-05 14:23:26 +0300
committerMunyoki Kilyungi2023-09-05 14:24:35 +0300
commit563c842a760c60c5e4f3f46e282f7994903a64df (patch)
treef0c6566664a7019c294435243dafc42cb0236c6c /gn/packages/python.scm
parent538b15b254c123e37c91a7fcd32fc41adeb3c611 (diff)
downloadguix-bioinformatics-563c842a760c60c5e4f3f46e282f7994903a64df.tar.gz
gn: python: Add python-mypy-0.981
* gn/packages/python.scm (python-mypy-0.981): New package. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn/packages/python.scm')
-rw-r--r--gn/packages/python.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm
index adfc2f4..d728ef3 100644
--- a/gn/packages/python.scm
+++ b/gn/packages/python.scm
@@ -1900,3 +1900,26 @@ concepts.")
(propagated-inputs
(modify-inputs (package-propagated-inputs yoyo-migrations)
(append python-importlib-metadata)))))
+
+(define-public python-mypy-0.981
+ (package
+ (inherit python-mypy)
+ (name "python-mypy")
+ (version "0.981")
+ (source
+ (origin
+ ;; Because of https://github.com/python/mypy/issues/9584, the
+ ;; mypyc/analysis directory is missing in the PyPI archive, leading to
+ ;; test failures.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python/mypy")
+ (commit (string-append "v" version))
+ ;; Fetch git submodules otherwise typeshed is not fetched.
+ ;; Typeshed is a collection of Python sources type annotation
+ ;; (data) files.
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0awigl51an7466yk236f9vsbqpz2jzd6dsg9v5a4cia37vz4li0a"))))))