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

44 lines
1.3 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-19 03:50:45 +02:00
date = "20160713";
2014-09-15 23:16:21 +02:00
name = "alock-${date}";
2017-07-19 03:50:45 +02:00
# Please consider https://github.com/Arkq/alock/issues/5
# before upgrading past this revision.
2014-09-15 23:16:21 +02:00
src = fetchgit {
url = https://github.com/Arkq/alock;
2017-07-19 03:50:45 +02:00
rev = "329ac152426639fe3c9e53debfc3f973c2988f50";
sha256 = "078nf2afyqv7hpk5kw50i57anm7qqd8jnczygnwimh2q40bljm7x";
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
};
}