1 { lib, stdenv, fetchPypi, buildPythonPackage, typed-ast, psutil, isPy3k
5 buildPythonPackage rec {
11 inherit pname version;
12 sha256 = "069i9qnfanp7dn8df1vspnqb0flvsszzn22v00vj08nzlnd061yd";
15 propagatedBuildInputs = [ typed-ast psutil mypy-extensions typing-extensions ];
17 # Tests not included in pip package.
20 pythonImportsCheck = [
30 # Compile mypy with mypyc, which makes mypy about 4 times faster. The compiled
31 # version is also the default in the wheels on Pypi that include binaries.
32 # is64bit: unfortunately the build would exhaust all possible memory on i686-linux.
33 MYPY_USE_MYPYC = stdenv.buildPlatform.is64bit;
36 description = "Optional static typing for Python";
37 homepage = "http://www.mypy-lang.org";
38 license = licenses.mit;
39 maintainers = with maintainers; [ martingms lnl7 ];