2019-03-13 20:14:44 -07:00
|
|
|
{ buildPythonPackage
|
2021-04-29 19:34:45 -07:00
|
|
|
, fetchPypi
|
|
|
|
, pytestCheckHook
|
|
|
|
, isPy27
|
2021-01-25 00:26:54 -08:00
|
|
|
, lib
|
2021-04-29 19:34:45 -07:00
|
|
|
, setuptools
|
|
|
|
, setuptools-declarative-requirements
|
|
|
|
, setuptools-scm
|
2019-03-13 20:14:44 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-helpers-namespace";
|
2021-03-24 10:41:55 -07:00
|
|
|
version = "2021.3.24";
|
2021-04-29 19:34:45 -07:00
|
|
|
disabled = isPy27;
|
2019-03-13 20:14:44 -07:00
|
|
|
|
2021-04-29 19:34:45 -07:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q";
|
2019-03-13 20:14:44 -07:00
|
|
|
};
|
|
|
|
|
2021-04-29 19:34:45 -07:00
|
|
|
nativeBuildInputs = [ setuptools setuptools-declarative-requirements setuptools-scm ];
|
2019-03-13 20:14:44 -07:00
|
|
|
|
2021-04-29 19:34:45 -07:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2019-03-13 20:14:44 -07:00
|
|
|
|
2021-04-29 19:34:45 -07:00
|
|
|
pythonImportsCheck = [ "pytest_helpers_namespace" ];
|
2019-03-13 20:14:44 -07:00
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2019-03-13 20:14:44 -07:00
|
|
|
homepage = "https://github.com/saltstack/pytest-helpers-namespace";
|
|
|
|
description = "PyTest Helpers Namespace";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.kiwi ];
|
|
|
|
};
|
|
|
|
}
|