1{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }: 2 3buildPythonPackage rec { 4 pname = "packageurl-python"; 5 version = "0.9.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "c01fbaf62ad2eb791e97158d1f30349e830bee2dd3e9503a87f6c3ffae8d1cf0"; 10 }; 11 12 checkInputs = [ pytestCheckHook ]; 13 14 pythonImportsCheck = [ "packageurl" ]; 15 16 meta = with lib; { 17 description = "Python parser and builder for package URLs"; 18 homepage = "https://github.com/package-url/packageurl-python"; 19 license = licenses.mit; 20 maintainers = with maintainers; [ armijnhemel ]; 21 }; 22}