2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, setuptools-scm
|
|
|
|
, toml
|
|
|
|
, jaraco_functools
|
|
|
|
, jaraco-context
|
|
|
|
, more-itertools
|
|
|
|
, jaraco_collections
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco-test";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "5.3.0";
|
|
|
|
format = "pyproject";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "jaraco.test";
|
|
|
|
inherit version;
|
2023-01-20 10:41:00 +00:00
|
|
|
hash = "sha256-f2f8xTlTgXGCPlqp+dA04ulRLOTzVNEb39hNtytGHUA=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
toml
|
|
|
|
jaraco_functools
|
|
|
|
jaraco-context
|
|
|
|
more-itertools
|
|
|
|
jaraco_collections
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"jaraco.test"
|
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
description = "Testing support by jaraco";
|
|
|
|
homepage = "https://github.com/jaraco/jaraco.test";
|
2023-01-20 10:41:00 +00:00
|
|
|
changelog = "https://github.com/jaraco/jaraco.test/blob/v${version}/CHANGES.rst";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|