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

Message ID EIbrlUgbttK_CglbGins40wf0ibxASDV0yECWDwGQ0SJdFStFknwrtWqBQYEPCYJ2bLN8uv6-w_1OZ83OFEhvnxCZARt6oBWH1L5CIHuucI=@protonmail.com
State Accepted
Headers show
Series Add python-mypy and required packages | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

JesseJohnGildersleve April 8, 2019, 2:21 p.m. UTC
From e968e9787457781552fa229f6d1c5f15e473de1c Mon Sep 17 00:00:00 2001
From: frozenpigs <purpjuice@protonmail.com>
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(+)

--
2.21.0

Patch

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))