1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7 zope-testing,
8}:
9
10buildPythonPackage rec {
11 pname = "zc-lockfile";
12 version = "3.0.post1";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "zc.lockfile";
17 inherit version;
18 hash = "sha256-rbLubZ5qIzPJEXjcssm5aldEx47bdxLceEp9dWSOgew=";
19 };
20
21 build-system = [ setuptools ];
22
23 pythonImportsCheck = [ "zc.lockfile" ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 zope-testing
28 ];
29
30 enabledTestPaths = [ "src/zc/lockfile/tests.py" ];
31
32 pythonNamespaces = [ "zc" ];
33
34 meta = {
35 description = "Inter-process locks";
36 homepage = "https://www.python.org/pypi/zc.lockfile";
37 changelog = "https://github.com/zopefoundation/zc.lockfile/blob/${version}/CHANGES.rst";
38 license = lib.licenses.zpl21;
39 maintainers = [ ];
40 };
41}