python311Packages.packageurl-python: refactor

This commit is contained in:
Fabian Affolter 2024-03-21 21:20:16 +01:00 committed by GitHub
parent e98e6acb23
commit e9f35bdc0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,12 +3,13 @@
, fetchPypi
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "packageurl-python";
version = "0.15.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -17,6 +18,10 @@ buildPythonPackage rec {
hash = "sha256-8hmyzmNIGFonvWpy5v3J+YTmyfoVfv+ny5PjQcSc3MI=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];