2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
2021-05-03 20:48:10 +00:00
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, isPy27
|
2021-02-05 17:12:51 +00:00
|
|
|
, lib
|
2021-05-03 20:48:10 +00:00
|
|
|
, setuptools
|
|
|
|
, setuptools-declarative-requirements
|
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-helpers-namespace";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "2021.12.29";
|
2021-05-03 20:48:10 +00:00
|
|
|
disabled = isPy27;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "792038247e0021beb966a7ea6e3a70ff5fcfba77eb72c6ec8fd6287af871c35b";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
nativeBuildInputs = [ setuptools setuptools-declarative-requirements setuptools-scm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
pythonImportsCheck = [ "pytest_helpers_namespace" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/saltstack/pytest-helpers-namespace";
|
|
|
|
description = "PyTest Helpers Namespace";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.kiwi ];
|
|
|
|
};
|
|
|
|
}
|