2016-07-11 18:35:00 +01:00
|
|
|
{ stdenv, fetchurl, python35Packages }:
|
|
|
|
|
|
|
|
python35Packages.buildPythonApplication rec {
|
|
|
|
name = "mypy-lang-${version}";
|
2016-10-14 14:21:28 +01:00
|
|
|
version = "0.4.5";
|
2016-07-11 18:35:00 +01:00
|
|
|
|
|
|
|
# Tests not included in pip package.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/m/mypy-lang/${name}.tar.gz";
|
2016-10-14 14:21:28 +01:00
|
|
|
sha256 = "0x1n6r5in57zv4s75r22smpqxrz7xxp84fnrhkwzbpjnafa3y81f";
|
2016-07-11 18:35:00 +01:00
|
|
|
};
|
|
|
|
|
2016-07-12 10:22:24 +01:00
|
|
|
propagatedBuildInputs = with python35Packages; [ lxml ];
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|