From b4a328118e752e10291d7c94522b8a868c8f18cd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Jan 2026 12:15:01 +0100 Subject: [PATCH] python313Packages.cpe-search: migrate to finalAttrs --- pkgs/development/python-modules/cpe-search/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cpe-search/default.nix b/pkgs/development/python-modules/cpe-search/default.nix index 68e4de6a14f8..df10e7699d35 100644 --- a/pkgs/development/python-modules/cpe-search/default.nix +++ b/pkgs/development/python-modules/cpe-search/default.nix @@ -11,7 +11,7 @@ ujson, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "cpe-search"; version = "0.1.9"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ra1nb0rn"; repo = "cpe_search"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Joo95w5fql9dkBe+tz6MfOWEp1dbJEv6gBdv4HgGq/w="; }; @@ -55,8 +55,8 @@ buildPythonPackage rec { meta = { description = "Search for Common Platform Enumeration (CPE) strings using software names and titles"; homepage = "https://github.com/ra1nb0rn/cpe_search"; - changelog = "https://github.com/ra1nb0rn/cpe_search/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/ra1nb0rn/cpe_search/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})