mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
mypy: 0.501 -> 0.511
This commit is contained in:
parent
6c8871f928
commit
bbc5d15d0a
@ -1,22 +1,24 @@
|
||||
{ stdenv, fetchurl, python35Packages }:
|
||||
python35Packages.buildPythonApplication rec {
|
||||
name = "mypy-${version}";
|
||||
version = "0.501";
|
||||
{ stdenv, fetchPypi, buildPythonApplication, lxml, typed-ast }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "mypy";
|
||||
version = "0.511";
|
||||
|
||||
# Tests not included in pip package.
|
||||
doCheck = false;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/m/mypy/${name}.tar.gz";
|
||||
sha256 = "164g3dq2vzxa53n9lgvmbapg41qiwcxk1w9mvzmnqksvql5vm60h";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1vmfyi6zh49mi7rmns5hjgpqshq7islxwsgp80j1izf82r8xgx1z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python35Packages; [ lxml typed-ast ];
|
||||
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 ];
|
||||
maintainers = with maintainers; [ martingms lnl7 ];
|
||||
};
|
||||
}
|
||||
|
@ -7361,7 +7361,9 @@ with pkgs;
|
||||
|
||||
grabserial = callPackage ../development/tools/grabserial { };
|
||||
|
||||
mypy = callPackage ../development/tools/mypy { };
|
||||
mypy = callPackage ../development/tools/mypy {
|
||||
inherit (python3Packages) fetchPypi buildPythonApplication lxml typed-ast;
|
||||
};
|
||||
|
||||
|
||||
### DEVELOPMENT / LIBRARIES
|
||||
|
Loading…
Reference in New Issue
Block a user