20 stdenv.mkDerivation rec {
21 pname = "light-locker";
24 outputs = [ "out" "man" ];
26 src = fetchFromGitHub {
27 owner = "the-cavalry";
30 sha256 = "1z5lcd02gqax65qc14hj5khifg7gr53zy3s5i6apba50lbdlfk46";
55 "-Dxf86gamma-ext=true"
59 "-Dlock-on-suspend=true"
65 ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
69 updateScript = nix-update-script { };
73 homepage = "https://github.com/the-cavalry/light-locker";
74 description = "A simple session-locker for LightDM";
76 A simple locker (forked from gnome-screensaver) that aims to
77 have simple, sane, secure defaults and be well integrated with
78 the desktop while not carrying any desktop-specific
81 It relies on LightDM for locking and unlocking your session via
82 ConsoleKit/UPower or logind/systemd.
84 license = licenses.gpl2;
85 maintainers = with maintainers; [ obadz ] ++ teams.pantheon.members;
86 platforms = platforms.linux;