mypy: 0.501 -> 0.511

This commit is contained in:
Daiderd Jordan 2017-05-11 22:33:34 +02:00 committed by Graham Christensen
parent 6c8871f928
commit bbc5d15d0a
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C
2 changed files with 14 additions and 10 deletions

View File

@ -1,22 +1,24 @@
{ stdenv, fetchurl, python35Packages }:
python35Packages.buildPythonApplication rec {
name = "mypy-${version}";
version = "0.501";
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }:
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "mypy";
version = "0.511";
# Tests not included in pip package.
doCheck = false;
src = fetchurl {
url = "mirror://pypi/m/mypy/${name}.tar.gz";
sha256 = "164g3dq2vzxa53n9lgvmbapg41qiwcxk1w9mvzmnqksvql5vm60h";
src = fetchPypi {
inherit pname version;
sha256 = "1vmfyi6zh49mi7rmns5hjgpqshq7islxwsgp80j1izf82r8xgx1z";
};
propagatedBuildInputs = with python35Packages; [ lxml typed-ast ];
propagatedBuildInputs = [ lxml typed-ast ];
meta = with stdenv.lib; {
description = "Optional static typing for Python";
homepage = "http://www.mypy-lang.org";
license = licenses.mit;
maintainers = with maintainers; [ martingms ];
maintainers = with maintainers; [ martingms lnl7 ];
};
}

View File

@ -7361,7 +7361,9 @@ with pkgs;
grabserial = callPackage ../development/tools/grabserial { };
mypy = callPackage ../development/tools/mypy { };
mypy = callPackage ../development/tools/mypy {
inherit (python3Packages) fetchPypi buildPythonApplication lxml typed-ast;
};
### DEVELOPMENT / LIBRARIES