2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
2024-09-19 14:19:46 +00:00
|
|
|
fetchFromGitHub,
|
2024-06-05 15:53:02 +00:00
|
|
|
lib,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
pytest-xdist,
|
|
|
|
pytest-dependency,
|
|
|
|
pytest-mock,
|
|
|
|
pytestCheckHook,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-order";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "1.3.0";
|
|
|
|
pyproject = true;
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pytest-dev";
|
|
|
|
repo = "pytest-order";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-V1qJGkXn+HhuK5wiwkkJBEbfnv23R4x9Cv0J6ZTj5xE=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [ setuptools ];
|
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
|
|
|
};
|
|
|
|
}
|