about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zipp
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-04-01 16:58:26 +0200
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-04-01 17:01:26 +0200
commit4ea19b77712ccc4e5c29b8b2b55943a0695d955b (patch)
treea37573d5072484b306baaf58700650a77fba2367 /pkgs/development/python-modules/zipp
parent2fc28603b8ac83e8c29afe5520bd68446c0a68ce (diff)
python.pkgs.zipp: init at 0.3.3
Diffstat (limited to 'pkgs/development/python-modules/zipp')
-rw-r--r--pkgs/development/python-modules/zipp/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zipp/default.nix b/pkgs/development/python-modules/zipp/default.nix
new file mode 100644
index 0000000000000..2c060c9881c0f
--- /dev/null
+++ b/pkgs/development/python-modules/zipp/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools_scm
+, pytest
+, pytest-flake8
+}:
+
+buildPythonPackage rec {
+  pname = "zipp";
+  version = "0.3.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "55ca87266c38af6658b84db8cfb7343cdb0bf275f93c7afaea0d8e7a209c7478";
+  };
+
+  nativeBuildInputs = [ setuptools_scm ];
+
+  checkInputs = [ pytest pytest-flake8 ];
+
+  checkPhase = ''
+    pytest
+  '';
+
+  meta = with lib; {
+    description = "Pathlib-compatible object wrapper for zip files";
+    homepage = https://github.com/jaraco/zipp;
+    license = licenses.mit;
+  };
+}