1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libX11 }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-CIYshZqJICuL8adKHIN4R6nudaqWOCK2UPrGhsKf9pE=";
14 nativeBuildInputs = [ cmake pkg-config ];
16 buildInputs = [ libX11 ];
18 # we end up with symlinked unit files if we don't move them around ourselves
20 rm -r $out/lib/systemd
21 mv $out/share/systemd $out/lib
25 description = "Provides settings to X11 applications via the XSETTINGS specification";
26 homepage = "https://github.com/derat/xsettingsd";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ romildo ];
29 platforms = platforms.linux;
30 mainProgram = "xsettingsd";