1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "packageurl-python"; 10 version = "0.10.4"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.6"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-XJEzT5Qs1V1F6wxn3TOaU175DiXwW57AFq0YjtDvkEg="; 18 }; 19 20 checkInputs = [ 21 pytestCheckHook 22 ]; 23 24 pythonImportsCheck = [ 25 "packageurl" 26 ]; 27 28 meta = with lib; { 29 description = "Python parser and builder for package URLs"; 30 homepage = "https://github.com/package-url/packageurl-python"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ armijnhemel ]; 33 }; 34}