Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / nose-warnings-filters / default.nix
blob4de67b60c468f8deab7a9a0f3cde5174ab844103
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy3k
5 , nose
6 }:
8 buildPythonPackage rec {
9   pname = "nose-warnings-filters";
10   version = "0.1.5";
11   format = "setuptools";
13   src = fetchPypi {
14     pname = "nose_warnings_filters";
15     inherit version;
16     sha256 = "17dvfqfy2fm7a5cmiffw2dc3064kpx72fn5mlw01skm2rhn5nv25";
17   };
19   disabled = !isPy3k;
21   propagatedBuildInputs = [ nose ];
23   nativeCheckInputs = [ nose ];
24   checkPhase = ''
25     nosetests -v
26   '';
28   meta = {
29     description = "Allow injecting warning filters during nosetest";
30     homepage = "https://github.com/Carreau/nose_warnings_filters";
31     license = lib.licenses.mit;
32   };