1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/nose-randomly/default.nix

30 lines
580 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, nose
, numpy
}:
buildPythonPackage rec {
pname = "nose-randomly";
2019-02-14 07:37:21 +00:00
version = "1.2.6";
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:21 +00:00
sha256 = "7e483a3d79e13ae760d6ade57ae07ae45bb4b223b61a805e958b4c077116c67c";
};
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 ];
};
}