mypy: make it usuable as a library
This commit is contained in:
parent
1a1799b6f4
commit
b76177a625
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast, psutil }:
|
||||
{ stdenv, fetchPypi, buildPythonPackage, lxml, typed-ast, psutil, isPy3k }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "mypy";
|
||||
version = "0.600";
|
||||
|
||||
@ -12,6 +12,8 @@ buildPythonApplication rec {
|
||||
sha256 = "1pd3kkz435wlvi9fwqbi3xag5zs59jcjqi6c9gzdjdn23friq9dw";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ lxml typed-ast psutil ];
|
||||
|
||||
meta = with stdenv.lib; {
|
@ -8492,7 +8492,7 @@ with pkgs;
|
||||
|
||||
grabserial = callPackage ../development/tools/grabserial { };
|
||||
|
||||
mypy = python3Packages.callPackage ../development/tools/mypy { };
|
||||
mypy = python3Packages.mypy;
|
||||
|
||||
### DEVELOPMENT / LIBRARIES
|
||||
|
||||
|
@ -8088,6 +8088,8 @@ in {
|
||||
|
||||
mysqlclient = callPackage ../development/python-modules/mysqlclient { };
|
||||
|
||||
mypy = callPackage ../development/python-modules/mypy { };
|
||||
|
||||
mwclient = buildPythonPackage rec {
|
||||
version = "0.8.3";
|
||||
pname = "mwclient";
|
||||
|
Loading…
Reference in New Issue
Block a user