2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools-scm
|
|
|
|
, toml
|
2023-08-04 22:07:22 +00:00
|
|
|
, jaraco-functools
|
2022-06-16 17:23:12 +00:00
|
|
|
, jaraco-context
|
|
|
|
, more-itertools
|
2023-08-04 22:07:22 +00:00
|
|
|
, jaraco-collections
|
2022-06-16 17:23:12 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "jaraco-test";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "5.4.0";
|
|
|
|
pyproject = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "jaraco.test";
|
|
|
|
inherit version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-29NDh4dYrcVER9YRXEYXia2zH8QHOyEpUCQwk7oxfsI=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
build-system = [
|
2022-06-16 17:23:12 +00:00
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
dependencies = [
|
2022-06-16 17:23:12 +00:00
|
|
|
toml
|
2023-08-04 22:07:22 +00:00
|
|
|
jaraco-functools
|
2022-06-16 17:23:12 +00:00
|
|
|
jaraco-context
|
|
|
|
more-itertools
|
2023-08-04 22:07:22 +00:00
|
|
|
jaraco-collections
|
2022-06-16 17:23:12 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
disabledTestPaths = [
|
|
|
|
# https://github.com/jaraco/jaraco.test/issues/6
|
|
|
|
"jaraco/test/cpython.py"
|
|
|
|
];
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|