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