From 9728299c486fae6b9e7b6fe30d06eafeb10d06ec Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 9 Jan 2025 00:40:45 +0000 Subject: [PATCH] yubikey-touch-detector: 1.12.2 -> 1.12.4 Release notes: https://github.com/maximbaz/yubikey-touch-detector/releases/tag/1.12.3 https://github.com/maximbaz/yubikey-touch-detector/releases/tag/1.12.4 This commit also installs the man page that was added in 1.12.3. See https://github.com/maximbaz/yubikey-touch-detector/pull/64 Signed-off-by: Sumner Evans --- .../by-name/yu/yubikey-touch-detector/package.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/yu/yubikey-touch-detector/package.nix b/pkgs/by-name/yu/yubikey-touch-detector/package.nix index 9ba1da8af8d2..8332e9625bcb 100644 --- a/pkgs/by-name/yu/yubikey-touch-detector/package.nix +++ b/pkgs/by-name/yu/yubikey-touch-detector/package.nix @@ -4,22 +4,28 @@ gpgme, buildGoModule, fetchFromGitHub, + installShellFiles, pkg-config, + scdoc, }: buildGoModule rec { pname = "yubikey-touch-detector"; - version = "1.12.2"; + version = "1.12.4"; src = fetchFromGitHub { owner = "maximbaz"; repo = "yubikey-touch-detector"; rev = version; - hash = "sha256-vhaJSgQUBYBXfQHHR7cR3zHCZstwRD/jXhqYR1vqMqA="; + hash = "sha256-AUy/QvNQ3d0b17wcrL3kyhzaEFgS403NR/IBXnJwWwk="; }; vendorHash = "sha256-x8Fmhsk6MtgAtLxgH/V3KusM0BXAOaSU+2HULR5boJQ="; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ + pkg-config + scdoc + installShellFiles + ]; buildInputs = [ libnotify @@ -37,6 +43,9 @@ buildGoModule rec { substituteInPlace $out/lib/systemd/user/*.service \ --replace /usr/bin/yubikey-touch-detector "$out/bin/yubikey-touch-detector" + + scdoc < yubikey-touch-detector.1.scd > yubikey-touch-detector.1 + installManPage yubikey-touch-detector.1 ''; meta = with lib; {