sxhkd: modernize

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-07-26 16:51:04 -04:00
parent 21b5029d0b
commit 5ebfab17de

View File

@@ -8,6 +8,7 @@
libxcb-util,
libxcb-keysyms,
libxcb-wm,
versionCheckHook,
nixosTests,
}:
@@ -18,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub {
owner = "baskerville";
repo = "sxhkd";
rev = finalAttrs.version;
tag = finalAttrs.version;
hash = "sha256-kbjbTzYL2dz/RpG+SgBYy+XS3W9PBEWkg6ocqAFG3VQ=";
};
@@ -40,9 +41,13 @@ stdenv.mkDerivation (finalAttrs: {
];
strictDeps = true;
__structuredAttrs = true;
makeFlags = [ "PREFIX=$(out)" ];
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.tests = {
inherit (nixosTests) startx;
};