2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2023-01-11 07:51:40 +00:00
|
|
|
, decorator
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
2023-01-11 07:51:40 +00:00
|
|
|
, invocations
|
|
|
|
, invoke
|
2020-04-24 23:36:52 +00:00
|
|
|
, pytest
|
2021-09-18 10:52:07 +00:00
|
|
|
, pytestCheckHook
|
2023-01-11 07:51:40 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-relaxed";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2.0.2";
|
2023-01-11 07:51:40 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-lW6gKOww27+2gN2Oe0p/uPgKI5WV6Ius4Bi/LA1xgkg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
buildInputs = [
|
|
|
|
pytest
|
|
|
|
];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
decorator
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-11 07:51:40 +00:00
|
|
|
invocations
|
|
|
|
invoke
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
pytestFlagsArray = [
|
|
|
|
"tests"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"pytest_relaxed"
|
|
|
|
];
|
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://pytest-relaxed.readthedocs.io/";
|
|
|
|
description = "Relaxed test discovery/organization for pytest";
|
2023-01-11 07:51:40 +00:00
|
|
|
changelog = "https://github.com/bitprophet/pytest-relaxed/blob/${version}/docs/changelog.rst";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd0;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|