1{ buildPythonPackage
2, fetchPypi
3, pytestCheckHook
4, isPy27
5, lib
6, setuptools
7, setuptools-declarative-requirements
8, setuptools-scm
9}:
10
11buildPythonPackage rec {
12 pname = "pytest-helpers-namespace";
13 version = "2021.12.29";
14 disabled = isPy27;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "792038247e0021beb966a7ea6e3a70ff5fcfba77eb72c6ec8fd6287af871c35b";
19 };
20
21 nativeBuildInputs = [ setuptools setuptools-declarative-requirements setuptools-scm ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "pytest_helpers_namespace" ];
26
27 meta = with lib; {
28 homepage = "https://github.com/saltstack/pytest-helpers-namespace";
29 description = "PyTest Helpers Namespace";
30 license = licenses.asl20;
31 maintainers = [ maintainers.kiwi ];
32 };
33}