From 1b6de4b006bf576ad0b6c15bb35ac78281a97e9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 8 Jan 2026 20:07:08 +0100 Subject: [PATCH] ccid: 1.6.2 -> 1.7.0 Changelog: https://github.com/LudovicRousseau/CCID/releases/tag/1.7.0 Notably, this updates the udev rules to give the 'pcscd' group access to CCID devices. That's needed for pcsclite>=2.4.0. Upstream have added installation of the udev rules, but it does so outside of PREFIX. Keep using our own installation code instead, which is simpler than patching upstream build system. --- pkgs/by-name/cc/ccid/package.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/cc/ccid/package.nix b/pkgs/by-name/cc/ccid/package.nix index b1792ddd96be..3157c01c0fd2 100644 --- a/pkgs/by-name/cc/ccid/package.nix +++ b/pkgs/by-name/cc/ccid/package.nix @@ -15,13 +15,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "ccid"; - version = "1.6.2"; + version = "1.7.0"; src = fetchFromGitHub { owner = "LudovicRousseau"; repo = "CCID"; tag = finalAttrs.version; - hash = "sha256-n7rOjnLZH4RLmddtBycr3FK2Bi/OLR+9IjWBRbWjnUw="; + hash = "sha256-6eaznSIQZl1bpIe1F9EtwotF9BjOruJ9g/c2QrTgfUg="; }; postPatch = '' @@ -33,6 +33,9 @@ stdenv.mkDerivation (finalAttrs: { mesonFlags = [ (lib.mesonBool "serial" true) + # Upstream tries to install udev outside of PREFIX. It's easier to disable + # this and install it ourself than to patch meson.build. + (lib.mesonBool "udev-rules" false) ]; # error: call to undeclared function 'InterruptRead';