2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2019-09-01 10:08:09 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pytest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2022-12-07 01:35:07 +00:00
|
|
|
version = "1.1.0";
|
2019-09-01 10:08:09 +02:00
|
|
|
pname = "pytest-random-order";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-12-07 01:35:07 +00:00
|
|
|
sha256 = "sha256-2+beu5NTp6+YTMnt2+s1d91Nu8wVKaeePSH2jtm0VgU=";
|
2019-09-01 10:08:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
|
2021-03-12 23:20:19 +01:00
|
|
|
buildInputs = [ pytest ];
|
2019-09-01 10:08:09 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-09-01 10:08:09 +02:00
|
|
|
homepage = "https://github.com/jbasko/pytest-random-order";
|
|
|
|
description = "Randomise the order of tests with some control over the randomness";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.prusnak ];
|
|
|
|
};
|
|
|
|
}
|