depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-random-order/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

27 lines
580 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
}:
buildPythonPackage rec {
version = "1.1.0";
pname = "pytest-random-order";
src = fetchPypi {
inherit pname version;
sha256 = "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 ];
};
}