9 stdenv.mkDerivation (finalAttrs: {
13 src = fetchFromGitea {
14 domain = "codeberg.org";
17 rev = "refs/tags/v${finalAttrs.version}";
18 hash = "sha256-rYmbbdZjeLCvGvNocI3+KVU2KBkYvRisayTyScTRay8=";
21 buildInputs = [ xorg.libX11 xorg.libXcursor ];
22 nativeBuildInputs = [ installShellFiles ];
26 ${stdenv.cc.targetPrefix}cc -o sxcs sxcs.c -O3 -s -l X11 -l Xcursor
30 outputs = [ "out" "man" ];
35 install -Dm755 sxcs -t $out/bin
42 description = "Minimal X11 Color Picker and Magnifier";
43 homepage = "https://codeberg.org/NRK/sxcs";
44 license = lib.licenses.gpl3Plus;
45 maintainers = with lib.maintainers; [ sigmanificient ];
46 platforms = lib.platforms.linux;