diff options
author | Siarhei Zirukin <ftrvxmtrx@gmail.com> | 2014-09-15 23:16:21 +0200 |
---|---|---|
committer | Siarhei Zirukin <ftrvxmtrx@gmail.com> | 2014-09-16 09:25:47 +0200 |
commit | b8848c070cd2d9b54a27443ba64a0d477051688a (patch) | |
tree | 7f1f8ba0f29f18e001f5bc25eea0b015eecc9b3f /pkgs/misc/screensavers/alock | |
parent | 3e5bcdc327eb0347e15ffe2072b2b61f80218d32 (diff) | |
download | nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.tar nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.tar.gz nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.tar.bz2 nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.tar.lz nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.tar.xz nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.tar.zst nixlib-b8848c070cd2d9b54a27443ba64a0d477051688a.zip |
added alock package
Diffstat (limited to 'pkgs/misc/screensavers/alock')
-rw-r--r-- | pkgs/misc/screensavers/alock/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/misc/screensavers/alock/default.nix b/pkgs/misc/screensavers/alock/default.nix new file mode 100644 index 000000000000..2b8042ba9ab2 --- /dev/null +++ b/pkgs/misc/screensavers/alock/default.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchgit, pkgconfig, autoconf, automake +, libX11, pam, libgcrypt, libXrender, imlib2 }: + +stdenv.mkDerivation rec { + date = "20140724"; + name = "alock-${date}"; + + src = fetchgit { + url = https://github.com/Arkq/alock; + rev = "928ae09a85627570b7f6986fe161b71327405fc0"; + sha256 = "0z605w2cf0pc988qq931b2zis6dqavm0wcjfdmr6q4vamvinjfv0"; + }; + + preConfigure = "autoreconf -fvi"; + configureFlags = [ + "--enable-pam" + "--enable-hash" + "--enable-xrender" + "--enable-imlib2" + ]; + buildInputs = [ + pkgconfig autoconf automake libX11 + 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; + maintainers = stdenv.lib.maintainers.ftrvxmtrx; + }; +} |