1 { lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
2 , libX11, pam, libgcrypt, libXrender, imlib2 }:
4 stdenv.mkDerivation rec {
6 version = "unstable-2017-07-20";
8 src = fetchFromGitHub {
11 rev = "2035e1d4a2293432f5503e82d10f899232eb0f38";
12 sha256 = "sha256-Rm00ytSfEv5Wljz4f/4bbyrK3sCV/oRUwz4DKx0pya8=";
15 PAM_DEFAULT_SERVICE = "login";
24 nativeBuildInputs = [ pkg-config autoreconfHook ];
27 pam libgcrypt libXrender imlib2
31 homepage = "https://github.com/Arkq/alock";
32 description = "Simple screen lock application for X server";
34 alock locks the X server until the user enters a password
35 via the keyboard. If the authentication was successful
36 the X server is unlocked and the user can continue to work.
38 alock does not provide any fancy animations like xlock or
39 xscreensaver and never will. It's just for locking the current
42 platforms = platforms.linux;
43 maintainers = with maintainers; [ ftrvxmtrx chris-martin ];
44 license = licenses.mit;