1{ lib
2, buildPythonPackage
3, fetchPypi
4, nose
5, numpy
6}:
7
8buildPythonPackage rec {
9 pname = "nose-randomly";
10 version = "1.2.6";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "7e483a3d79e13ae760d6ade57ae07ae45bb4b223b61a805e958b4c077116c67c";
15 };
16
17 checkInputs = [ numpy nose ];
18
19 checkPhase = ''
20 nosetests
21 '';
22
23 meta = with lib; {
24 description = "Nose plugin to randomly order tests and control random.seed";
25 homepage = "https://github.com/adamchainz/nose-randomly";
26 license = licenses.bsd3;
27 maintainers = [ maintainers.costrouc ];
28 };
29}