nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pythonPackages.w3lib: disable broken test, switch to pytestCheckHook, cleanup

+9 -3
+9 -3
pkgs/development/python-modules/w3lib/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , six 5 - , pytest 5 + , pytestCheckHook 6 6 }: 7 7 8 8 buildPythonPackage rec { ··· 14 14 sha256 = "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha"; 15 15 }; 16 16 17 - buildInputs = [ six pytest ]; 17 + propagatedBuildInputs = [ six ]; 18 + 19 + checkInputs = [ pytestCheckHook ]; 20 + pythonImportsCheck = [ "w3lib" ]; 21 + 22 + disabledTests = [ 23 + "test_add_or_replace_parameter" 24 + ]; 18 25 19 26 meta = with lib; { 20 27 description = "A library of web-related functions"; ··· 29 22 license = licenses.bsd3; 30 23 maintainers = with maintainers; [ drewkett ]; 31 24 }; 32 - 33 25 }