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";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2021.4.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;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "183524e3db4e2a1fea92e0ca3662a624ba44c9f3568da15679d7535ba6838a6a";
|
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
|
|
|
|
2021-05-03 20:48:10 +00:00
|
|
|
checkInputs = [ 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 ];
|
|
|
|
};
|
|
|
|
}
|