nixpkgs/pkgs/development/tools/mypy/default.nix

25 lines
618 B
Nix
Raw Normal View History

2017-05-11 22:33:34 +02:00
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }:
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "mypy";
version = "0.511";
2016-07-11 19:35:00 +02:00
# Tests not included in pip package.
doCheck = false;
2017-05-11 22:33:34 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "1vmfyi6zh49mi7rmns5hjgpqshq7islxwsgp80j1izf82r8xgx1z";
2016-07-11 19:35:00 +02:00
};
2017-05-11 22:33:34 +02:00
propagatedBuildInputs = [ lxml typed-ast ];
2016-07-12 11:22:24 +02:00
2016-07-11 19:35:00 +02:00
meta = with stdenv.lib; {
description = "Optional static typing for Python";
homepage = "http://www.mypy-lang.org";
license = licenses.mit;
2017-05-11 22:33:34 +02:00
maintainers = with maintainers; [ martingms lnl7 ];
2016-07-11 19:35:00 +02:00
};
}