python2.pkgs.zipp: init at 1.0.0
This commit is contained in:
parent
5c08320af6
commit
07cc118adb
38
pkgs/development/python-modules/zipp/1.nix
Normal file
38
pkgs/development/python-modules/zipp/1.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, pytest
|
||||
, pytest-flake8
|
||||
, more-itertools
|
||||
, toml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zipp";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0v3qayhqv7vyzydpydwcp51bqciw8p2ajddw68x5k8zppc0vx3yk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
propagatedBuildInputs = [ more-itertools ];
|
||||
|
||||
checkInputs = [ pytest pytest-flake8 ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
# Prevent infinite recursion with pytest
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pathlib-compatible object wrapper for zip files";
|
||||
homepage = "https://github.com/jaraco/zipp";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -6493,7 +6493,10 @@ in {
|
||||
|
||||
zha-quirks = callPackage ../development/python-modules/zha-quirks { };
|
||||
|
||||
zipp = callPackage ../development/python-modules/zipp { };
|
||||
zipp = if pythonOlder "3.6" then
|
||||
callPackage ../development/python-modules/zipp/1.nix { }
|
||||
else
|
||||
callPackage ../development/python-modules/zipp { };
|
||||
|
||||
zope_broken = callPackage ../development/python-modules/zope_broken { };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user