1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "zope-dottedname";
11 version = "6.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "zope.dottedname";
16 inherit version;
17 hash = "sha256-28S4W/vzSx74jasWJSrG7xbZBDnyIjstCiYs9Bnq6QI=";
18 };
19
20 build-system = [ setuptools ];
21
22 nativeCheckInputs = [ pytestCheckHook ];
23
24 enabledTestPaths = [ "src/zope/dottedname/tests.py" ];
25
26 pythonImportsCheck = [ "zope.dottedname" ];
27
28 pythonNamespaces = [ "zope" ];
29
30 meta = {
31 homepage = "https://github.com/zopefoundation/zope.dottedname";
32 description = "Resolver for Python dotted names";
33 changelog = "https://github.com/zopefoundation/zope.dottedname/blob/${version}/CHANGES.rst";
34 license = lib.licenses.zpl21;
35 maintainers = [ ];
36 };
37}