From 6de7d465387e6095c4f2eb16fcba3622f25ce7bb Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Mon, 14 Sep 2026 17:46:36 +0200 Subject: [PATCH] python3Packages.webauthn: 2.7.0 -> 3.0.0 Diff: https://github.com/duo-labs/py_webauthn/compare/v2.7.0...v3.0.0 Changelog: https://github.com/duo-labs/py_webauthn/blob/v3.0.0/CHANGELOG.md --- .../python-modules/webauthn/default.nix | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/webauthn/default.nix b/pkgs/development/python-modules/webauthn/default.nix index b5e6cb3a4947..39db5447c2bf 100644 --- a/pkgs/development/python-modules/webauthn/default.nix +++ b/pkgs/development/python-modules/webauthn/default.nix @@ -3,29 +3,32 @@ buildPythonPackage, fetchFromGitHub, setuptools, - asn1crypto, + pyasn1, + pyasn1-modules, cbor2, cryptography, pyopenssl, pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "webauthn"; - version = "2.7.0"; + version = "3.0.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "duo-labs"; repo = "py_webauthn"; - tag = "v${version}"; - hash = "sha256-aZDptKJPFU6Oo4vKkIWkqkJ5ogDe5x3v7PAQRixWFe4="; + tag = "v${finalAttrs.version}"; + hash = "sha256-rT/B95ILb2cI/HH01IC5b4319zdKnrf4ZLUIpAeC3fM="; }; build-system = [ setuptools ]; - propagatedBuildInputs = [ - asn1crypto + dependencies = [ + pyasn1 + pyasn1-modules cbor2 cryptography pyopenssl @@ -38,8 +41,8 @@ buildPythonPackage rec { meta = { description = "Implementation of the WebAuthn API"; homepage = "https://github.com/duo-labs/py_webauthn"; - changelog = "https://github.com/duo-labs/py_webauthn/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/duo-labs/py_webauthn/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +})