depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-random-order/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
613 B
Nix

{ stdenv
, 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 stdenv.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 ];
};
}