Merge pull request #116325 from armijnhemel/package_url

python3Packages.packageurl-python: init at 0.9.4
This commit is contained in:
Robert Schütz
2021-03-20 22:23:46 +01:00
committed by GitHub
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
buildPythonPackage rec {
pname = "packageurl-python";
version = "0.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "0mpvj8imsaqhrgfq1cxx16flc5201y78kqa7bh2i5zxsc29843mx";
};
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 ];
};
}