2018-11-29 13:08:28 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
|
|
|
, numpy
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nose-randomly";
|
2019-02-14 07:37:21 +00:00
|
|
|
version = "1.2.6";
|
2018-11-29 13:08:28 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:21 +00:00
|
|
|
sha256 = "7e483a3d79e13ae760d6ade57ae07ae45bb4b223b61a805e958b4c077116c67c";
|
2018-11-29 13:08:28 +00:00
|
|
|
};
|
|
|
|
|
2019-01-05 10:54:27 +00:00
|
|
|
checkInputs = [ numpy nose ];
|
2018-11-29 13:08:28 +00:00
|
|
|
|
2018-12-23 17:40:51 +00:00
|
|
|
checkPhase = ''
|
|
|
|
nosetests
|
|
|
|
'';
|
|
|
|
|
2018-11-29 13:08:28 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Nose plugin to randomly order tests and control random.seed";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/adamchainz/nose-randomly";
|
2018-11-29 13:08:28 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|