Merge pull request #46788 from teto/mypy630

python3Packages.mypy: 0.620 -> 0.630
This commit is contained in:
Jörg Thalheim 2018-09-18 08:01:53 +01:00 committed by GitHub
commit bab28c26f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 4 deletions

View File

@ -1,20 +1,21 @@
{ stdenv, fetchPypi, buildPythonPackage, lxml, typed-ast, psutil, isPy3k }:
{ stdenv, fetchPypi, buildPythonPackage, lxml, typed-ast, psutil, isPy3k
,mypy_extensions }:
buildPythonPackage rec {
pname = "mypy";
version = "0.620";
version = "0.630";
# Tests not included in pip package.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "c770605a579fdd4a014e9f0a34b6c7a36ce69b08100ff728e96e27445cef3b3c";
sha256 = "1p8rnap4ngczfm2q4035mcmn5nsprbljnhksx2jxzxrb9immh137";
};
disabled = !isPy3k;
propagatedBuildInputs = [ lxml typed-ast psutil ];
propagatedBuildInputs = [ lxml typed-ast psutil mypy_extensions ];
meta = with stdenv.lib; {
description = "Optional static typing for Python";

View File

@ -0,0 +1,25 @@
{ stdenv, fetchPypi, buildPythonPackage, typing, isPy3k }:
buildPythonPackage rec {
pname = "mypy_extensions";
version = "0.4.1";
# Tests not included in pip package.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "04h8brrbbx151dfa2cvvlnxgmb5wa00mhd2z7nd20s8kyibfkq1p";
};
disabled = !isPy3k;
propagatedBuildInputs = [ typing ];
meta = with stdenv.lib; {
description = "Experimental type system extensions for programs checked with the mypy typechecker";
homepage = "http://www.mypy-lang.org";
license = licenses.mit;
maintainers = with maintainers; [ martingms lnl7 ];
};
}

View File

@ -7786,6 +7786,8 @@ in {
mypy = callPackage ../development/python-modules/mypy { };
mypy_extensions = callPackage ../development/python-modules/mypy/extensions.nix { };
mypy-protobuf = callPackage ../development/python-modules/mypy-protobuf { };
mwclient = buildPythonPackage rec {