at master 706 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "w3lib"; 12 version = "2.3.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-XIrAKjAnV2F0wrYeuaIXC6Gxl8rnZwgHcbbx/r2iSaQ="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "w3lib" ]; 27 28 meta = with lib; { 29 description = "Library of web-related functions"; 30 homepage = "https://github.com/scrapy/w3lib"; 31 changelog = "https://github.com/scrapy/w3lib/blob/v${version}/NEWS"; 32 license = licenses.bsd3; 33 maintainers = [ ]; 34 }; 35}