python.pkgs.nose_warnings_filters: init at 0.1.5

This commit is contained in:
Robin Gloster 2017-10-23 13:36:22 +02:00
parent 38c04e691c
commit 817b7bb349
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, nose
}:
buildPythonPackage rec {
pname = "nose_warnings_filters";
version = "0.1.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "17dvfqfy2fm7a5cmiffw2dc3064kpx72fn5mlw01skm2rhn5nv25";
};
disabled = !isPy3k;
propagatedBuildInputs = [ nose ];
checkPhase = ''
nosetests -v
'';
meta = {
description = "Allow injecting warning filters during nosetest";
homepage = https://github.com/Carreau/nose_warnings_filters;
license = lib.licenses.mit;
};
}

View File

@ -13124,6 +13124,8 @@ in {
buildInputs = with self; [ nose ];
};
nose_warnings_filters = callPackage ../development/python-modules/nose_warnings_filters { };
notebook = callPackage ../development/python-modules/notebook { };
notify = pkgs.stdenv.mkDerivation (rec {