1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "uritools"; 9 version = "4.0.0"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "420d94c1ff4bf90c678fca9c17b8314243bbcaa992c400a95e327f7f622e1edf"; 17 }; 18 19 pythonImportsCheck = [ 20 "uritools" 21 ]; 22 23 meta = with lib; { 24 description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse"; 25 homepage = "https://github.com/tkem/uritools/"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ rvolosatovs ]; 28 }; 29}