From 19a7d2b87156d55fb0f6117763dcd2845939f472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Camille=20Favier?= Date: Sun, 28 Sep 2025 03:16:07 +0200 Subject: [PATCH] sxhkd: 0.6.2 -> 0.6.3 https://github.com/baskerville/sxhkd/releases/tag/0.6.3 --- pkgs/by-name/sx/sxhkd/package.nix | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/pkgs/by-name/sx/sxhkd/package.nix b/pkgs/by-name/sx/sxhkd/package.nix index f2093f835c13..531eca8d0018 100644 --- a/pkgs/by-name/sx/sxhkd/package.nix +++ b/pkgs/by-name/sx/sxhkd/package.nix @@ -8,28 +8,20 @@ xcbutil, xcbutilkeysyms, xcbutilwm, + nixosTests, }: stdenv.mkDerivation (finalAttrs: { pname = "sxhkd"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromGitHub { owner = "baskerville"; repo = "sxhkd"; rev = finalAttrs.version; - hash = "sha256-OelMqenk0tiWMLraekS/ggGf6IsXP7Sz7bv75NvnNvI="; + hash = "sha256-kbjbTzYL2dz/RpG+SgBYy+XS3W9PBEWkg6ocqAFG3VQ="; }; - patches = [ - (fetchpatch { - # Fixes an issue with overlapping chords when using multiple keyboard layouts. - name = "sxhkd-mod5.patch"; - url = "https://github.com/baskerville/sxhkd/pull/307/commits/35e64f1d7b54c97ccc02e84e278012dae9bc3941.patch"; - hash = "sha256-bvXWEEITbHC/h0nXQx99SXjvkI/KO36XXNSa1O8KSY0="; - }) - ]; - outputs = [ "out" "doc" @@ -51,6 +43,10 @@ stdenv.mkDerivation (finalAttrs: { makeFlags = [ "PREFIX=$(out)" ]; + passthru.tests = { + inherit (nixosTests) startx; + }; + meta = { description = "Simple X hotkey daemon"; homepage = "https://github.com/baskerville/sxhkd";