From 194fc7cb9e50fda9a63fca15a3183fcda68ac310 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 3 Sep 2025 16:37:31 +0200 Subject: [PATCH] yubikey-manager: 5.7.2 -> 5.8.0 (#439813) Diff: https://github.com/Yubico/yubikey-manager/compare/5.7.2...5.8.0 Changelog: https://github.com/Yubico/yubikey-manager/releases/tag/5.8.0 --- pkgs/by-name/yu/yubikey-manager/package.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/yu/yubikey-manager/package.nix b/pkgs/by-name/yu/yubikey-manager/package.nix index ce4c65a21b33..ad133173372f 100644 --- a/pkgs/by-name/yu/yubikey-manager/package.nix +++ b/pkgs/by-name/yu/yubikey-manager/package.nix @@ -9,27 +9,30 @@ python3Packages.buildPythonPackage rec { pname = "yubikey-manager"; - version = "5.7.2"; + version = "5.8.0"; pyproject = true; src = fetchFromGitHub { owner = "Yubico"; repo = "yubikey-manager"; tag = version; - hash = "sha256-dgOi9gJ7jO3+EjZQjHfx+KDsBtj6b4JWR3Bp9xWM6FI="; + hash = "sha256-Z3krdKP6hhhIxN7nl/k5r30jFVC0kZK9Z6Aqllp/KrA="; }; postPatch = '' substituteInPlace "ykman/pcsc/__init__.py" \ - --replace 'pkill' '${if stdenv.hostPlatform.isLinux then procps else "/usr"}/bin/pkill' + --replace-fail 'pkill' '${if stdenv.hostPlatform.isLinux then procps else "/usr"}/bin/pkill' ''; - nativeBuildInputs = with python3Packages; [ - poetry-core + nativeBuildInputs = [ installShellFiles ]; - propagatedBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ + poetry-core + ]; + + dependencies = with python3Packages; [ cryptography pyscard fido2 @@ -37,10 +40,6 @@ python3Packages.buildPythonPackage rec { keyring ]; - pythonRelaxDeps = [ - "keyring" - ]; - postInstall = '' installManPage man/ykman.1