From f300319a389893390b845da1266b70dab36c0297 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 5 Oct 2025 12:46:33 +0200 Subject: [PATCH] python313Packages.cvelib: 1.7.1 -> 1.8.0 Changelog: https://github.com/RedHatProductSecurity/cvelib/blob/1.8.0/CHANGELOG.md --- .../python-modules/cvelib/default.nix | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/cvelib/default.nix b/pkgs/development/python-modules/cvelib/default.nix index 9a8fb1232c27..967fc991ab17 100644 --- a/pkgs/development/python-modules/cvelib/default.nix +++ b/pkgs/development/python-modules/cvelib/default.nix @@ -8,13 +8,13 @@ pytestCheckHook, pythonOlder, requests, - setuptools, + hatchling, testers, }: buildPythonPackage rec { pname = "cvelib"; - version = "1.7.1"; + version = "1.8.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,16 +23,10 @@ buildPythonPackage rec { owner = "RedHatProductSecurity"; repo = "cvelib"; tag = version; - hash = "sha256-AhA+2lEI/hsbIVCfSWO0vI6eWkObjsq5xYOSqVvUPkU="; + hash = "sha256-lbwrZSzJaP+nKFwt7xiq/LTzgOuf8aELxjrxEKkYpfc="; }; - postPatch = '' - # collective.checkdocs is unmaintained for over 10 years - substituteInPlace pyproject.toml \ - --replace-fail '"collective.checkdocs",' "" - ''; - - build-system = [ setuptools ]; + build-system = [ hatchling ]; dependencies = [ click @@ -49,7 +43,7 @@ buildPythonPackage rec { meta = with lib; { description = "Library and a command line interface for the CVE Services API"; homepage = "https://github.com/RedHatProductSecurity/cvelib"; - changelog = "https://github.com/RedHatProductSecurity/cvelib/blob/${version}/CHANGELOG.md"; + changelog = "https://github.com/RedHatProductSecurity/cvelib/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ raboof ]; mainProgram = "cve";