2021-01-28 10:17:37 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lib
|
|
|
|
, pytest
|
|
|
|
, pytest-xdist
|
|
|
|
, pytest-dependency
|
|
|
|
, pytest-mock
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-order";
|
2021-03-24 09:28:24 +00:00
|
|
|
version = "0.10.0";
|
2021-01-28 10:17:37 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:24 +00:00
|
|
|
sha256 = "2da32cb95e63fac6972d34f5ddb53997fc66305355425be0f55f4092d666293d";
|
2021-01-28 10:17:37 +00:00
|
|
|
};
|
|
|
|
|
2021-03-12 22:20:19 +00:00
|
|
|
buildInputs = [ pytest ];
|
2021-01-28 10:17:37 +00:00
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-xdist
|
|
|
|
pytest-dependency
|
|
|
|
pytest-mock
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pytest plugin that allows you to customize the order in which your tests are run";
|
|
|
|
homepage = "https://github.com/mrbean-bremen/pytest-order";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.jacg ];
|
|
|
|
};
|
|
|
|
}
|