python.pkgs.zipp: init at 0.3.3
commit4ea19b77712ccc4e5c29b8b2b55943a0695d955b
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>
dateMon 1 Apr 2019, 16:58 (8 years ago)
parent2fc2860
pkgs/development/python-modules/zipp/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, setuptools_scm
5+, pytest
6+, pytest-flake8
7+}:
8+
9+buildPythonPackage rec {
10+ pname = "zipp";
11+ version = "0.3.3";
12+
13+ src = fetchPypi {
14+ inherit pname version;
15+ sha256 = "55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478";
16+ };
17+
18+ nativeBuildInputs = [ setuptools_scm ];
19+
20+ checkInputs = [ pytest pytest-flake8 ];
21+
22+ checkPhase = ''
23+ pytest
24+ '';
25+
26+ meta = with lib; {
27+ description = "Pathlib-compatible object wrapper for zip files";
28+ homepage = https://github.com/jaraco/zipp;
29+ license = licenses.mit;
30+ };
31+}
pkgs/top-level/python-packages.nix+2
@@ -4738,6 +4738,8 @@ in {
47384738
47394739 zfec = callPackage ../development/python-modules/zfec { };
47404740
4741+ zipp = callPackage ../development/python-modules/zipp { };
4742+
47414743 zope_broken = callPackage ../development/python-modules/zope_broken { };
47424744
47434745 zope_component = callPackage ../development/python-modules/zope_component { };