Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 669 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, lxml, typed-ast, psutil, isPy3k 2,mypy_extensions }: 3 4buildPythonPackage rec { 5 pname = "mypy"; 6 version = "0.670"; 7 8 # Tests not included in pip package. 9 doCheck = false; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "e80fd6af34614a0e898a57f14296d0dacb584648f0339c2e000ddbf0f4cc2f8d"; 14 }; 15 16 disabled = !isPy3k; 17 18 propagatedBuildInputs = [ lxml typed-ast psutil mypy_extensions ]; 19 20 meta = with stdenv.lib; { 21 description = "Optional static typing for Python"; 22 homepage = "http://www.mypy-lang.org"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ martingms lnl7 ]; 25 }; 26}