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