depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-random-order/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
603 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytest
}:
buildPythonPackage rec {
version = "1.0.4";
pname = "pytest-random-order";
src = fetchPypi {
inherit pname version;
sha256 = "6b2159342a4c8c10855bc4fc6d65ee890fc614cb2b4ff688979b008a82a0ff52";
};
disabled = pythonOlder "3.5";
propagatedBuildInputs = [ 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 ];
};
}