nixpkgs/pkgs/development/python-modules/zipp/default.nix

43 lines
770 B
Nix
Raw Normal View History

2019-04-01 15:58:26 +01:00
{ lib
, buildPythonPackage
, fetchPypi
2019-10-24 07:47:52 +01:00
, more-itertools
, pythonOlder
, setuptools-scm
2019-04-01 15:58:26 +01:00
}:
buildPythonPackage rec {
pname = "zipp";
2022-01-14 00:59:11 +00:00
version = "3.7.0";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-04-01 15:58:26 +01:00
src = fetchPypi {
inherit pname version;
2022-01-14 00:59:11 +00:00
sha256 = "9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d";
2019-04-01 15:58:26 +01:00
};
nativeBuildInputs = [
setuptools-scm
];
2019-04-01 15:58:26 +01:00
propagatedBuildInputs = [
more-itertools
];
2019-10-24 07:47:52 +01:00
2019-06-15 18:22:35 +01:00
# Prevent infinite recursion with pytest
doCheck = false;
pythonImportsCheck = [
"zipp"
];
2019-04-01 15:58:26 +01:00
meta = with lib; {
description = "Pathlib-compatible object wrapper for zip files";
homepage = "https://github.com/jaraco/zipp";
2019-04-01 15:58:26 +01:00
license = licenses.mit;
maintainers = with maintainers; [ ];
2019-04-01 15:58:26 +01:00
};
}