diff options
author | Robin Gloster <mail@glob.in> | 2017-10-23 13:36:22 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-10-24 15:31:50 +0200 |
commit | 817b7bb3491dc0931bd508a57fcca57c67121ac0 (patch) | |
tree | 0fb977beea84f75b5d310acdcb2529bcb21cc1f4 /pkgs/development/python-modules/nose_warnings_filters | |
parent | 38c04e691ce90ea12f68107bec47057915903f02 (diff) | |
download | nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.tar nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.tar.gz nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.tar.bz2 nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.tar.lz nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.tar.xz nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.tar.zst nixlib-817b7bb3491dc0931bd508a57fcca57c67121ac0.zip |
python.pkgs.nose_warnings_filters: init at 0.1.5
Diffstat (limited to 'pkgs/development/python-modules/nose_warnings_filters')
-rw-r--r-- | pkgs/development/python-modules/nose_warnings_filters/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/nose_warnings_filters/default.nix b/pkgs/development/python-modules/nose_warnings_filters/default.nix new file mode 100644 index 000000000000..db53a34a57f3 --- /dev/null +++ b/pkgs/development/python-modules/nose_warnings_filters/default.nix @@ -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; + }; +} |