1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/development/tools/mypy/default.nix
2017-08-25 19:36:16 +02:00

25 lines
630 B
Nix

{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }:
buildPythonApplication rec {
name = "${pname}-${version}";
pname = "mypy";
version = "0.521";
# Tests not included in pip package.
doCheck = false;
src = fetchPypi {
inherit pname version;
sha256 = "9d30df20cd937b80cfc6007d75426f27a232789cfa288c63bf9370f2542c9658";
};
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 ];
};
}