Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python.pkgs.contextlib2: fix tests

+4 -1
+4 -1
pkgs/development/python-modules/contextlib2/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 }: 5 6 buildPythonPackage rec { ··· 13 sha256 = "509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48"; 14 }; 15 16 meta = { 17 description = "Backports and enhancements for the contextlib module"; 18 homepage = http://contextlib2.readthedocs.org/; 19 license = lib.licenses.psfl; 20 }; 21 - }
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , unittest2 5 }: 6 7 buildPythonPackage rec { ··· 14 sha256 = "509f9419ee91cdd00ba34443217d5ca51f5a364a404e1dce9e8979cea969ca48"; 15 }; 16 17 + checkInputs = [ unittest2 ]; 18 + 19 meta = { 20 description = "Backports and enhancements for the contextlib module"; 21 homepage = http://contextlib2.readthedocs.org/; 22 license = lib.licenses.psfl; 23 }; 24 + }