42 lines
830 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pytestCheckHook,
zope-testing,
}:
buildPythonPackage rec {
pname = "zc-lockfile";
version = "3.0.post1";
pyproject = true;
src = fetchPypi {
pname = "zc.lockfile";
inherit version;
hash = "sha256-rbLubZ5qIzPJEXjcssm5aldEx47bdxLceEp9dWSOgew=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "zc.lockfile" ];
nativeCheckInputs = [
pytestCheckHook
zope-testing
];
enabledTestPaths = [ "src/zc/lockfile/tests.py" ];
pythonNamespaces = [ "zc" ];
meta = {
description = "Inter-process locks";
homepage = "https://www.python.org/pypi/zc.lockfile";
changelog = "https://github.com/zopefoundation/zc.lockfile/blob/${version}/CHANGES.rst";
license = lib.licenses.zpl21;
maintainers = [ ];
};
}