24 lines
613 B
Nix
24 lines
613 B
Nix
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast, psutil }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "mypy";
|
|
version = "0.580";
|
|
|
|
# Tests not included in pip package.
|
|
doCheck = false;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "3bd95a1369810f7693366911d85be9f0a0bd994f6cb7162b7a994e5ded90e3d9";
|
|
};
|
|
|
|
propagatedBuildInputs = [ lxml typed-ast psutil ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Optional static typing for Python";
|
|
homepage = "http://www.mypy-lang.org";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ martingms lnl7 ];
|
|
};
|
|
}
|