From ecc2030ab6ffe7fb1e54b794610cdf0197843e2a Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Sun, 8 Feb 2026 15:20:15 -0600 Subject: [PATCH] python3Packages.buildcatrust: modernize package definition to use finalAttrs --- pkgs/development/python-modules/buildcatrust/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/buildcatrust/default.nix b/pkgs/development/python-modules/buildcatrust/default.nix index 957b0a7c41fc..2b859b5ad3f8 100644 --- a/pkgs/development/python-modules/buildcatrust/default.nix +++ b/pkgs/development/python-modules/buildcatrust/default.nix @@ -6,17 +6,17 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "buildcatrust"; version = "0.4.0"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-GYw/RN1OK5fqo3em8hia2l/IwN76hnPnFuYprqeX144="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -37,4 +37,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ lukegb ]; }; -} +})