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

41 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 {
2015-05-25 23:45:53 +02:00
date = "20150418";
2014-09-15 23:16:21 +02:00
name = "alock-${date}";
src = fetchgit {
url = https://github.com/Arkq/alock;
2015-05-25 23:45:53 +02:00
rev = "69b547602d965733d415f877eb59d05966bd158d";
sha256 = "c1f00bf90c966b2b76e00061cc4b54a3c0bc6547e788731ab694b43f55a216ab";
2014-09-15 23:16:21 +02:00
};
configureFlags = [
"--enable-pam"
"--enable-hash"
"--enable-xrender"
"--enable-imlib2"
];
buildInputs = [
pkgconfig autoreconfHook libX11
2014-09-15 23:16:21 +02:00
pam libgcrypt libXrender imlib2
];
meta = {
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
xscreensaver and never will. Its just for locking the current
X session.
'';
platforms = with stdenv.lib.platforms; allBut cygwin;
2014-09-26 23:44:29 +02:00
maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
2014-09-15 23:16:21 +02:00
};
}