02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
29 lines
603 B
Nix
29 lines
603 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.1.0";
|
|
format = "setuptools";
|
|
pname = "pytest-random-order";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-2+beu5NTp6+YTMnt2+s1d91Nu8wVKaeePSH2jtm0VgU=";
|
|
};
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
meta = with lib; {
|
|
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 ];
|
|
};
|
|
}
|