From: ng0 <ngillm...@runbox.com> * gnu/packages/python.scm (python-typing): New variable. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 88762a412..285207543 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1402,6 +1402,33 @@ Python 3.3+.") (define-public python2-simplejson (package-with-python2 python-simplejson)) +(define-public python-typing + (package + (name "python-typing") + (version "3.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "typing" version ".2.tar.gz")) + (sha256 + (base32 + "0bvpqkmrnl5qs5491yb4irrkd8sha84g6xy8cclp3bsk4qlk9kib")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; No tests + (home-page "https://docs.python.org/3.5/library/typing.html") + (synopsis "Type Hints for Python") + (description + "This is a backport of the standard library typing module to +Python versions older than 3.5. Typing defines a standard notation +for Python function and variable type annotations. The notation can +be used for documenting code in a concise, standard format, and it has +been designed to also be used by static and runtime type checkers, +static analyzers, IDEs and other tools.") + (license (package-license python)))) + +(define-public python2-typing + (package-with-python2 python-typing)) (define-public python-pyicu (package -- 2.11.0