nixpkgs-suyu/pkgs/development/tools/mypy/default.nix
2017-10-27 21:34:42 +02:00

24 lines
630 B
Nix

{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }:
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "mypy";
version = "0.540";
# Tests not included in pip package.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "5d82f51e228a88e5de6ac1d6699dd09e250ce7de217a5ff1256e317266e738ec";
};
propagatedBuildInputs = [ lxml typed-ast ];
meta = with stdenv.lib; {
description = "Optional static typing for Python";
homepage = "http://www.mypy-lang.org";
license = licenses.mit;
maintainers = with maintainers; [ martingms lnl7 ];
};
}