about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pytest-random-order/default.nix
blob: 2def886c5cba22177f54f93678315bc955ec01b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, 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 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 ];
  };
}