Skip to content

Commit 8fc5095

Browse files
authored
sxhkd: 0.6.2 -> 0.6.3 (NixOS#446875)
2 parents 6eb65e0 + 19a7d2b commit 8fc5095

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

pkgs/by-name/sx/sxhkd/package.nix

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,20 @@
88
xcbutil,
99
xcbutilkeysyms,
1010
xcbutilwm,
11+
nixosTests,
1112
}:
1213

1314
stdenv.mkDerivation (finalAttrs: {
1415
pname = "sxhkd";
15-
version = "0.6.2";
16+
version = "0.6.3";
1617

1718
src = fetchFromGitHub {
1819
owner = "baskerville";
1920
repo = "sxhkd";
2021
rev = finalAttrs.version;
21-
hash = "sha256-OelMqenk0tiWMLraekS/ggGf6IsXP7Sz7bv75NvnNvI=";
22+
hash = "sha256-kbjbTzYL2dz/RpG+SgBYy+XS3W9PBEWkg6ocqAFG3VQ=";
2223
};
2324

24-
patches = [
25-
(fetchpatch {
26-
# Fixes an issue with overlapping chords when using multiple keyboard layouts.
27-
name = "sxhkd-mod5.patch";
28-
url = "https://github.com/baskerville/sxhkd/pull/307/commits/35e64f1d7b54c97ccc02e84e278012dae9bc3941.patch";
29-
hash = "sha256-bvXWEEITbHC/h0nXQx99SXjvkI/KO36XXNSa1O8KSY0=";
30-
})
31-
];
32-
3325
outputs = [
3426
"out"
3527
"doc"
@@ -51,6 +43,10 @@ stdenv.mkDerivation (finalAttrs: {
5143

5244
makeFlags = [ "PREFIX=$(out)" ];
5345

46+
passthru.tests = {
47+
inherit (nixosTests) startx;
48+
};
49+
5450
meta = {
5551
description = "Simple X hotkey daemon";
5652
homepage = "https://github.com/baskerville/sxhkd";

0 commit comments

Comments
 (0)