2021-03-23 19:22:30 +00:00
|
|
|
{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "packageurl-python";
|
2022-02-10 20:34:41 +00:00
|
|
|
version = "0.9.7";
|
2021-03-23 19:22:30 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-10 20:34:41 +00:00
|
|
|
sha256 = "sha256-1D22r2o1AJnjLp4F5zcBPQQJKHt2H6WcWKA+VdvDZIo=";
|
2021-03-23 19:22:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|