From 9ddc67a89ebac61626e6f8dcc1e911c9b1343ce8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 4 Jul 2026 20:26:38 +0200 Subject: [PATCH] python3Packages.fido2: 2.1.1 -> 2.2.1 https://github.com/Yubico/python-fido2/releases/tag/2.2.1 --- .../python-modules/fido2/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/fido2/default.nix b/pkgs/development/python-modules/fido2/default.nix index f279e558460d..6329cfb442ef 100644 --- a/pkgs/development/python-modules/fido2/default.nix +++ b/pkgs/development/python-modules/fido2/default.nix @@ -8,14 +8,14 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "fido2"; - version = "2.1.1"; + version = "2.2.1"; pyproject = true; src = fetchPypi { - inherit pname version; - hash = "sha256-8TefhFhwzH/GTH8HMjw85B6MlsNwVOeeCs1WMLP+xaw="; + inherit (finalAttrs) pname version; + hash = "sha256-hXh0KKlMP46vcvD/MK+6mDtVmhsbeVyTMYyBtK1AYsQ="; }; build-system = [ poetry-core ]; @@ -28,7 +28,10 @@ buildPythonPackage rec { pcsc = [ pyscard ]; }; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ] + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pytestFlags = [ "-v" @@ -40,8 +43,8 @@ buildPythonPackage rec { meta = { description = "Provides library functionality for FIDO 2.0, including communication with a device over USB"; homepage = "https://github.com/Yubico/python-fido2"; - changelog = "https://github.com/Yubico/python-fido2/releases/tag/${version}"; + changelog = "https://github.com/Yubico/python-fido2/releases/tag/${finalAttrs.version}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ prusnak ]; }; -} +})