From 6e2aa4ec93b610e92dae33fe52b042ed20910b85 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 1 May 2026 12:23:56 +0200 Subject: [PATCH] python3Packages.mscerts: migrate to finalAttrs --- pkgs/development/python-modules/mscerts/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mscerts/default.nix b/pkgs/development/python-modules/mscerts/default.nix index b14dc7722bdd..23f9f4b0c09a 100644 --- a/pkgs/development/python-modules/mscerts/default.nix +++ b/pkgs/development/python-modules/mscerts/default.nix @@ -5,7 +5,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mscerts"; version = "2026.4.30"; pyproject = true; @@ -13,7 +13,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ralphje"; repo = "mscerts"; - tag = version; + tag = finalAttrs.version; hash = "sha256-S6YQt0PaY9OpFFrTcnHrak+8/x105Af7xLW5jln8GK0="; }; @@ -29,7 +29,7 @@ buildPythonPackage rec { meta = { description = "Makes the Microsoft Trusted Root Program's Certificate Trust Lists available in Python"; homepage = "https://github.com/ralphje/mscerts"; - license = with lib.licenses; [ mpl20 ]; + license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ fab ]; }; -} +})