mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 10:00:56 +00:00
676ceb81b7
Now requires mypy_extensions so added it as well.
27 lines
657 B
Nix
27 lines
657 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, lxml, typed-ast, psutil, isPy3k
|
|
,mypy_extensions }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mypy";
|
|
version = "0.630";
|
|
|
|
# Tests not included in pip package.
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1p8rnap4ngczfm2q4035mcmn5nsprbljnhksx2jxzxrb9immh137";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
propagatedBuildInputs = [ lxml typed-ast psutil mypy_extensions ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Optional static typing for Python";
|
|
homepage = "http://www.mypy-lang.org";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ martingms lnl7 ];
|
|
};
|
|
}
|