2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
pytest,
|
|
|
|
pytest-xdist,
|
|
|
|
pytest-dependency,
|
|
|
|
pytest-mock,
|
|
|
|
pytestCheckHook,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-order";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.2.1";
|
2023-03-15 16:39:30 +00:00
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-RFG9iCG6T6IQlFWi/MiCr2DvjlPgnSRNZ2dL4I9W6sM=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ pytest ];
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-02-05 17:12:51 +00:00
|
|
|
pytestCheckHook
|
|
|
|
pytest-xdist
|
|
|
|
pytest-dependency
|
|
|
|
pytest-mock
|
|
|
|
];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-02-05 17:12:51 +00:00
|
|
|
description = "Pytest plugin that allows you to customize the order in which your tests are run";
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://github.com/pytest-dev/pytest-order";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
jacg
|
|
|
|
Luflosi
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
}
|