1 { lib, stdenv, fetchFromGitHub, glib, pkg-config, xorg, dbus }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "vincentbernat";
11 sha256 = "sha256-BE/v1CJAwKwxlK3Xg3ezD+IXyT7ZFGz3bQzGxFQfEnU=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ glib xorg.libX11 xorg.libXScrnSaver dbus ];
19 "man1dir=$(out)/share/man/man1"
23 description = "Forward freedesktop.org Idle Inhibition Service calls to Xss";
24 mainProgram = "xssproxy";
25 homepage = "https://github.com/vincentbernat/xssproxy";
26 license = lib.licenses.gpl3;
27 maintainers = with lib.maintainers; [ benley ];
28 platforms = lib.platforms.unix;