2016-07-11 18:35:00 +01:00
|
|
|
{ stdenv, fetchurl, python35Packages }:
|
|
|
|
python35Packages.buildPythonApplication rec {
|
2017-03-06 20:34:04 +00:00
|
|
|
name = "mypy-${version}";
|
|
|
|
version = "0.501";
|
2016-07-11 18:35:00 +01:00
|
|
|
|
|
|
|
# Tests not included in pip package.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-03-06 20:34:04 +00:00
|
|
|
url = "mirror://pypi/m/mypy/${name}.tar.gz";
|
|
|
|
sha256 = "164g3dq2vzxa53n9lgvmbapg41qiwcxk1w9mvzmnqksvql5vm60h";
|
2016-07-11 18:35:00 +01:00
|
|
|
};
|
|
|
|
|
2017-03-06 20:34:04 +00:00
|
|
|
propagatedBuildInputs = with python35Packages; [ lxml typed-ast ];
|
2016-07-12 10:22:24 +01:00
|
|
|
|
2016-07-11 18:35:00 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Optional static typing for Python";
|
|
|
|
homepage = "http://www.mypy-lang.org";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ martingms ];
|
|
|
|
};
|
|
|
|
}
|