depot/third_party/nixpkgs/pkgs/development/python-modules/packageurl-python/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

34 lines
669 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "packageurl-python";
version = "0.10.4";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-XJEzT5Qs1V1F6wxn3TOaU175DiXwW57AFq0YjtDvkEg=";
};
nativeCheckInputs = [
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 ];
};
}