sxhkd: modernize (#546059)

This commit is contained in:
@mjones
2026-08-07 20:29:16 +00:00
committed by GitHub

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;
};