light-locker: init at 1.7.0

This commit is contained in:
obadz 2015-08-20 07:56:32 +01:00
parent 93d8671e2c
commit c7738364b5
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ stdenv
, fetchFromGitHub
, which
, xfce
, glib
, pkgconfig
, libX11
, gtk3
, dbus_glib
, systemd
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "${basename}-${version}";
basename = "light-locker";
version = "1.7.0";
src = fetchFromGitHub {
owner = "the-cavalry";
repo = basename;
rev = "v${version}";
sha256 = "0ygkp5vgkx2nfhfql6j2jsfay394gda23ir3sx4f72j4agsirjvj";
};
buildInputs = [ which xfce.xfce4_dev_tools glib pkgconfig libX11 gtk3 dbus_glib systemd wrapGAppsHook ];
preConfigure = ''
./autogen.sh
'';
meta = with stdenv.lib; {
homepage = https://github.com/the-cavalry/light-locker;
description = "light-locker is a simple locker";
longDescription = ''
light-locker is a simple locker (forked from gnome-screensaver) that aims to have simple, sane, secure defaults and be well integrated with the desktop while not carrying any desktop-specific dependencies.
It relies on lightdm for locking and unlocking your session via ConsoleKit/UPower or logind/systemd.
'';
license = licenses.gpl2;
maintainers = with maintainers; [ obadz ];
platforms = platforms.linux;
};
}

View File

@ -7707,6 +7707,8 @@ let
lightning = callPackage ../development/libraries/lightning { };
lightlocker = callPackage ../misc/screensavers/light-locker { };
lirc = callPackage ../development/libraries/lirc { };
liquidfun = callPackage ../development/libraries/liquidfun { };