about summary refs log tree commit diff
path: root/pkgs/development/python-modules/nose-randomly/default.nix
blob: 531994d90535e10a60e2cba22a1c2ed714a704d6 (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
28
29
{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
}:

buildPythonPackage rec {
  pname = "nose-randomly";
  version = "1.2.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "361f4c2fbb090ec2bc8e5e4151e21409a09ac13f364e3448247cc01f326d89b3";
  };

  checkInputs = [ numpy nose ];

  checkPhase = ''
    nosetests
  '';

  meta = with lib; {
    description = "Nose plugin to randomly order tests and control random.seed";
    homepage = https://github.com/adamchainz/nose-randomly;
    license = licenses.bsd3;
    maintainers = [ maintainers.costrouc ];
  };
}