792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
22 lines
579 B
Nix
22 lines
579 B
Nix
{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "packageurl-python";
|
|
version = "0.9.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-Z14OyAWPoIN6BAUEcXi96mp9C0aWaYP6eeHAoa+rHJ4=";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "packageurl" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python parser and builder for package URLs";
|
|
homepage = "https://github.com/package-url/packageurl-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ armijnhemel ];
|
|
};
|
|
}
|