From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 42395@debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy@bioneland.org>
Subject: [bug#42395] [PATCH v2 2/2] gnu: Add python-mypy.
Date: Thu, 16 Jul 2020 16:40:12 +0200 [thread overview]
Message-ID: <20200716144012.28902-2-tanguy@bioneland.org> (raw)
In-Reply-To: <20200716144012.28902-1-tanguy@bioneland.org>
* gnu/packages/python-check.scm (python-mypy): New variable.
---
gnu/packages/python-check.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 819ce21e09..ee3e9fe76a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -471,3 +471,29 @@ Python software under test, when they make an HTTP query.")
(description "The @code{python-mypy-extensions} module defines experimental
extensions to the standard 'typing' module that are supported by the mypy typechecker.")
(license license:expat)))
+
+(define-public python-mypy
+ (package
+ (name "python-mypy")
+ (version "0.782")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mypy" version))
+ (sha256
+ (base32
+ "030kn709515452n6gy2i1d9fg6fyrkmdz228lfpmbslybsld9xzg"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f)); no tests
+ (propagated-inputs
+ `(("python-mypy-extensions" ,python-mypy-extensions)
+ ("python-typing-extensions" ,python-typing-extensions)
+ ("python-typed-ast" ,python-typed-ast)))
+ (home-page "http://www.mypy-lang.org/")
+ (synopsis "Optional static type checker for Python")
+ (description "Mypy is an optional static type checker for Python that aims
+to combine the benefits of dynamic (or 'duck') typing and static typing. Mypy combines
+the expressive power and convenience of Python with a powerful type system and
+compile-time type checking. Mypy type checks standard Python programs; run them using
+any Python VM with basically no runtime overhead.")
+ (license license:expat)))
--
2.27.0
next prev parent reply other threads:[~2020-07-16 14:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-16 14:34 [bug#42395] [PATCH 1/2] gnu: Add python-mypy-extensions Tanguy Le Carrour
2020-07-16 14:34 ` [bug#42396] [PATCH 2/2] gnu: Add python-mypy Tanguy Le Carrour
[not found] ` <handler.42396.B.159491011027203.ack@debbugs.gnu.org>
2020-07-16 14:43 ` [bug#42396] Acknowledgement ([PATCH 2/2] gnu: Add python-mypy.) Tanguy Le Carrour
2020-07-22 12:02 ` bug#42396: [PATCH 2/2] gnu: Add python-mypy Tanguy Le Carrour
2020-07-16 14:40 ` [bug#42395] [PATCH v2 1/2] gnu: Add python-mypy-extensions Tanguy Le Carrour
2020-07-16 14:40 ` Tanguy Le Carrour [this message]
[not found] ` <handler.42395.B.159491010827194.ack@debbugs.gnu.org>
2020-07-17 8:39 ` [bug#42395] Acknowledgement ([PATCH 1/2] gnu: Add python-mypy-extensions.) Tanguy Le Carrour
2020-07-21 21:24 ` bug#42395: " Marius Bakke
2020-07-22 5:44 ` [bug#42395] " Tanguy Le Carrour
2020-07-25 15:43 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200716144012.28902-2-tanguy@bioneland.org \
--to=tanguy@bioneland.org \
--cc=42395@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).