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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
913 B
Nix
Raw Normal View History

2019-04-01 14:58:26 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, func-timeout
, jaraco_itertools
, pythonOlder
, setuptools-scm
2019-04-01 14:58:26 +00:00
}:
let zipp = buildPythonPackage rec {
2019-04-01 14:58:26 +00:00
pname = "zipp";
2023-02-27 01:15:01 +00:00
version = "3.15.0";
2022-06-01 21:52:11 +00:00
format = "pyproject";
disabled = pythonOlder "3.7";
2019-04-01 14:58:26 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-ESkprWSdqUHCPeUPNWorVXDJVLZRUGQrzN1mvxlNIks=";
2019-04-01 14:58:26 +00:00
};
nativeBuildInputs = [
setuptools-scm
];
2019-04-01 14:58:26 +00:00
2019-06-15 17:22:35 +00:00
# Prevent infinite recursion with pytest
doCheck = false;
nativeCheckInputs = [
func-timeout
jaraco_itertools
];
pythonImportsCheck = [
"zipp"
];
passthru.tests = {
check = zipp.overridePythonAttrs (_: { doCheck = true; });
};
2019-04-01 14:58:26 +00:00
meta = with lib; {
description = "Pathlib-compatible object wrapper for zip files";
homepage = "https://github.com/jaraco/zipp";
2019-04-01 14:58:26 +00:00
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
2019-04-01 14:58:26 +00:00
};
}; in zipp