Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / packageurl-python / default.nix
blob430cd58024dd54bd0f7cf220d85e8e055262baa6
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pytestCheckHook
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "packageurl-python";
11   version = "0.15.0";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-8hmyzmNIGFonvWpy5v3J+YTmyfoVfv+ny5PjQcSc3MI=";
19   };
21   build-system = [
22     setuptools
23   ];
25   nativeCheckInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [
30     "packageurl"
31   ];
33   meta = with lib; {
34     description = "Python parser and builder for package URLs";
35     homepage = "https://github.com/package-url/packageurl-python";
36     changelog = "https://github.com/package-url/packageurl-python/blob/v${version}/CHANGELOG.rst";
37     license = licenses.mit;
38     maintainers = with maintainers; [ armijnhemel ];
39   };