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