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";
|
pname = "mypy";
|
||||||
version = "0.600";
|
version = "0.600";
|
||||||
|
|
||||||
@ -12,6 +12,8 @@ buildPythonApplication rec {
|
|||||||
sha256 = "1pd3kkz435wlvi9fwqbi3xag5zs59jcjqi6c9gzdjdn23friq9dw";
|
sha256 = "1pd3kkz435wlvi9fwqbi3xag5zs59jcjqi6c9gzdjdn23friq9dw";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
propagatedBuildInputs = [ lxml typed-ast psutil ];
|
propagatedBuildInputs = [ lxml typed-ast psutil ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
@ -8492,7 +8492,7 @@ with pkgs;
|
|||||||
|
|
||||||
grabserial = callPackage ../development/tools/grabserial { };
|
grabserial = callPackage ../development/tools/grabserial { };
|
||||||
|
|
||||||
mypy = python3Packages.callPackage ../development/tools/mypy { };
|
mypy = python3Packages.mypy;
|
||||||
|
|
||||||
### DEVELOPMENT / LIBRARIES
|
### DEVELOPMENT / LIBRARIES
|
||||||
|
|
||||||
|
@ -8088,6 +8088,8 @@ in {
|
|||||||
|
|
||||||
mysqlclient = callPackage ../development/python-modules/mysqlclient { };
|
mysqlclient = callPackage ../development/python-modules/mysqlclient { };
|
||||||
|
|
||||||
|
mypy = callPackage ../development/python-modules/mypy { };
|
||||||
|
|
||||||
mwclient = buildPythonPackage rec {
|
mwclient = buildPythonPackage rec {
|
||||||
version = "0.8.3";
|
version = "0.8.3";
|
||||||
pname = "mwclient";
|
pname = "mwclient";
|
||||||
|
Loading…
Reference in New Issue
Block a user