about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-helpers-namespace/default.nix
blob: eac8cf6377d11be1fd32def2fc2c882f3d419240 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ buildPythonPackage
, fetchPypi
, pytestCheckHook
, isPy27
, lib
, setuptools
, setuptools-declarative-requirements
, setuptools-scm
}:

buildPythonPackage rec {
  pname = "pytest-helpers-namespace";
  version = "2021.4.29";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "183524e3db4e2a1fea92e0ca3662a624ba44c9f3568da15679d7535ba6838a6a";
  };

  nativeBuildInputs = [ setuptools setuptools-declarative-requirements setuptools-scm ];

  checkInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pytest_helpers_namespace" ];

  meta = with lib; {
    homepage = "https://github.com/saltstack/pytest-helpers-namespace";
    description = "PyTest Helpers Namespace";
    license = licenses.asl20;
    maintainers = [ maintainers.kiwi ];
  };
}