mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-21 05:01:06 +02:00
32 lines
575 B
Nix
32 lines
575 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nose_warnings_filters";
|
|
version = "0.1.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "17dvfqfy2fm7a5cmiffw2dc3064kpx72fn5mlw01skm2rhn5nv25";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
propagatedBuildInputs = [ nose ];
|
|
|
|
checkInputs = [ nose ];
|
|
checkPhase = ''
|
|
nosetests -v
|
|
'';
|
|
|
|
meta = {
|
|
description = "Allow injecting warning filters during nosetest";
|
|
homepage = https://github.com/Carreau/nose_warnings_filters;
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|