guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#35193] [PATCH 2/3] Add python-mypy-extensions


From: JesseJohnGildersleve
Subject: [bug#35193] [PATCH 2/3] Add python-mypy-extensions
Date: Mon, 08 Apr 2019 14:21:53 +0000

>From e968e9787457781552fa229f6d1c5f15e473de1c Mon Sep 17 00:00:00 2001
From: frozenpigs <address@hidden>
Date: Mon, 8 Apr 2019 14:35:01 +0100
Subject: [PATCH 2/3] gnu: add python-mypy-extensions and
 python2-mypy-extensions

---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b5bfd6a261..27f1e1de08 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15342,3 +15342,26 @@ under which they are run.  The typed_ast parsers 
produce the standard Python AST
 (plus type comments), and are both fast and correct, as they are based on the
 CPython 2.7 and 3.6 parsers.")
     (license license:asl2.0)))
+
+(define-public python-mypy-extensions
+  (package
+    (name "python-mypy-extensions")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mypy_extensions" version))
+       (sha256
+        (base32
+         "04h8brrbbx151dfa2cvvlnxgmb5wa00mhd2z7nd20s8kyibfkq1p"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-typing" ,python-typing)))
+    (home-page "http://www.mypy-lang.org/";)
+    (synopsis "Experimental type system extensions for programs checked with 
mypy")
+    (description "The “mypy_extensions” module defines experimental extensions 
to the
+standard “typing” module that are supported by the mypy typechecker.")
+    (license license:expat)))
+
+(define-public python2-mypy-extensions
+  (package-with-python2 python-mypy-extensions))
--
2.21.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]