at 22.05-pre 641 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "w3lib"; 10 version = "1.22.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1pv02lvvmgz2qb61vz1jkjc04fgm4hpfvaj5zm4i3mjp64hd1mha"; 15 }; 16 17 propagatedBuildInputs = [ six ]; 18 19 checkInputs = [ pytestCheckHook ]; 20 pythonImportsCheck = [ "w3lib" ]; 21 22 disabledTests = [ 23 "test_add_or_replace_parameter" 24 ]; 25 26 meta = with lib; { 27 description = "A library of web-related functions"; 28 homepage = "https://github.com/scrapy/w3lib"; 29 license = licenses.bsd3; 30 maintainers = with maintainers; [ drewkett ]; 31 }; 32}