mypy: 0.540 -> 0.560

This commit is contained in:
adisbladis 2018-01-27 19:21:49 +08:00
parent 70a03faa48
commit 41af33a039
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5
2 changed files with 5 additions and 8 deletions

View File

@ -1,19 +1,18 @@
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }: { stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast, psutil }:
buildPythonApplication rec { buildPythonApplication rec {
name = "${pname}-${version}";
pname = "mypy"; pname = "mypy";
version = "0.540"; version = "0.560";
# Tests not included in pip package. # Tests not included in pip package.
doCheck = false; doCheck = false;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "5d82f51e228a88e5de6ac1d6699dd09e250ce7de217a5ff1256e317266e738ec"; sha256 = "1jja0xlwqajxzab8sabiycax8060zikg89dnl9a7lkqcrwprl35x";
}; };
propagatedBuildInputs = [ lxml typed-ast ]; propagatedBuildInputs = [ lxml typed-ast psutil ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Optional static typing for Python"; description = "Optional static typing for Python";

View File

@ -8038,9 +8038,7 @@ with pkgs;
grabserial = callPackage ../development/tools/grabserial { }; grabserial = callPackage ../development/tools/grabserial { };
mypy = callPackage ../development/tools/mypy { mypy = python3Packages.callPackage ../development/tools/mypy { };
inherit (python3Packages) fetchPypi buildPythonApplication lxml typed-ast;
};
### DEVELOPMENT / LIBRARIES ### DEVELOPMENT / LIBRARIES