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

24 lines
601 B
Nix
Raw Normal View History

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