nixpkgs/pkgs/misc/screensavers/alock/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchgit, pkgconfig, autoreconfHook
2014-09-15 23:16:21 +02:00
, libX11, pam, libgcrypt, libXrender, imlib2 }:
stdenv.mkDerivation rec {
2017-07-20 21:44:40 +02:00
date = "20170720";
2014-09-15 23:16:21 +02:00
name = "alock-${date}";
src = fetchgit {
url = https://github.com/Arkq/alock;
2017-07-20 21:44:40 +02:00
rev = "2035e1d4a2293432f5503e82d10f899232eb0f38";
sha256 = "1by954fjn0ryqda89zlmq3gclakg3gz7zy1wjrbgw4lzsk538va6";
2014-09-15 23:16:21 +02:00
};
2017-07-20 21:44:40 +02:00
PAM_DEFAULT_SERVICE = "login";
2014-09-15 23:16:21 +02:00
configureFlags = [
"--enable-pam"
"--enable-hash"
"--enable-xrender"
"--enable-imlib2"
];
2017-07-19 03:50:45 +02:00
2014-09-15 23:16:21 +02:00
buildInputs = [
pkgconfig autoreconfHook libX11
2014-09-15 23:16:21 +02:00
pam libgcrypt libXrender imlib2
];
2017-07-19 03:50:45 +02:00
meta = with stdenv.lib; {
2014-09-15 23:16:21 +02:00
homepage = https://github.com/Arkq/alock;
description = "Simple screen lock application for X server";
longDescription = ''
alock locks the X server until the user enters a password
via the keyboard. If the authentification was successful
the X server is unlocked and the user can continue to work.
alock does not provide any fancy animations like xlock or
2017-07-19 03:50:45 +02:00
xscreensaver and never will. It's just for locking the current
2014-09-15 23:16:21 +02:00
X session.
'';
2017-07-19 03:50:45 +02:00
platforms = with platforms; allBut cygwin;
maintainers = with maintainers; [ ftrvxmtrx chris-martin ];
2014-09-15 23:16:21 +02:00
};
}