13 stdenv.mkDerivation rec {
18 url = "https://git.suckless.org/slstatus";
20 hash = "sha256-cFah6EgApslLSlJaOy/5W9ZV9Z1lzfKye/rRh9Om3T4=";
25 configFile = if lib.isDerivation conf || builtins.isPath conf then conf else writeText "config.def.h" conf;
28 ${lib.optionalString (conf!=null) "cp ${configFile} config.def.h"}
29 makeFlagsArray+=(LDLIBS="-lX11 -lxcb -lXau -lXdmcp" CC=$CC)
34 nativeBuildInputs = [ pkg-config ];
35 buildInputs = [ libX11 libXau libXdmcp ];
37 installFlags = [ "PREFIX=$(out)" ];
40 homepage = "https://tools.suckless.org/slstatus/";
41 description = "status monitor for window managers that use WM_NAME like dwm";
42 license = licenses.isc;
43 maintainers = with maintainers; [ oxzi ];
44 platforms = platforms.linux;