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.4.29";
14 disabled = isPy27;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "183524e3db4e2a1fea92e0ca3662a624ba44c9f3568da15679d7535ba6838a6a";
19 };
20
21 nativeBuildInputs = [ setuptools setuptools-declarative-requirements setuptools-scm ];
22
23 checkInputs = [ 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}