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

23 lines
627 B
Nix
Raw Normal View History

2016-07-11 19:35:00 +02:00
{ stdenv, fetchurl, python35Packages }:
python35Packages.buildPythonApplication rec {
name = "mypy-${version}";
version = "0.501";
2016-07-11 19:35:00 +02:00
# Tests not included in pip package.
doCheck = false;
src = fetchurl {
url = "mirror://pypi/m/mypy/${name}.tar.gz";
sha256 = "164g3dq2vzxa53n9lgvmbapg41qiwcxk1w9mvzmnqksvql5vm60h";
2016-07-11 19:35:00 +02:00
};
propagatedBuildInputs = with python35Packages; [ 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;
maintainers = with maintainers; [ martingms ];
};
}