sxcs: 1.1.0 -> 1.2.1

This commit is contained in:
Thomas Butter
2026-05-14 18:46:01 +00:00
parent 95d4a0235d
commit 2b7e2603ad
+5 -3
View File
@@ -4,29 +4,31 @@
fetchFromCodeberg,
libxcursor,
libx11,
libxrender,
installShellFiles,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sxcs";
version = "1.1.0";
version = "1.2.1";
src = fetchFromCodeberg {
owner = "NRK";
repo = "sxcs";
tag = "v${finalAttrs.version}";
hash = "sha256-rYmbbdZjeLCvGvNocI3+KVU2KBkYvRisayTyScTRay8=";
hash = "sha256-7Dz14gARdiHZApT20PGS5pop327XROBeAXeKUeHo7iA=";
};
buildInputs = [
libx11
libxcursor
libxrender
];
nativeBuildInputs = [ installShellFiles ];
buildPhase = ''
runHook preBuild
${stdenv.cc.targetPrefix}cc -o sxcs sxcs.c -O3 -s -l X11 -l Xcursor
${stdenv.cc.targetPrefix}cc -o sxcs sxcs.c -O3 -s -l X11 -l Xcursor -l Xrender
runHook postBuild
'';