Merge pull request #116325 from armijnhemel/package_url
python3Packages.packageurl-python: init at 0.9.4
This commit is contained in:
commit
b1de2b4530
@ -746,6 +746,12 @@
|
||||
githubId = 1296771;
|
||||
name = "Anders Riutta";
|
||||
};
|
||||
armijnhemel = {
|
||||
email = "armijn@tjaldur.nl";
|
||||
github = "armijnhemel";
|
||||
githubId = 10587952;
|
||||
name = "Armijn Hemel";
|
||||
};
|
||||
arnarg = {
|
||||
email = "arnarg@fastmail.com";
|
||||
github = "arnarg";
|
||||
|
@ -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 ];
|
||||
};
|
||||
}
|
@ -4844,6 +4844,8 @@ in {
|
||||
|
||||
oyaml = callPackage ../development/python-modules/oyaml { };
|
||||
|
||||
packageurl-python = callPackage ../development/python-modules/packageurl-python { };
|
||||
|
||||
packaging = if isPy3k
|
||||
then callPackage ../development/python-modules/packaging { }
|
||||
else callPackage ../development/python-modules/packaging/2.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user