diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2018-07-11 17:38:38 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-07-11 17:39:22 +0200 |
commit | 3f324aa0cd515658399b2c5c1e7f1869d001191f (patch) | |
tree | 356e253760310dab5a5d7e801506860661a25a0f /pkgs/tools/X11/xsecurelock | |
parent | 8aaf71f9e04b676b8c30fd037803954582245899 (diff) |
xsecurelock: init at 2018-07-10
Diffstat (limited to 'pkgs/tools/X11/xsecurelock')
-rw-r--r-- | pkgs/tools/X11/xsecurelock/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xsecurelock/default.nix b/pkgs/tools/X11/xsecurelock/default.nix new file mode 100644 index 000000000000..176b9fa0068a --- /dev/null +++ b/pkgs/tools/X11/xsecurelock/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig +, libX11, libXcomposite, libXft, pam, apacheHttpd, imagemagick +, pamtester, xscreensaver }: + +stdenv.mkDerivation rec { + name = "xsecurelock-git-2018-07-10"; + + src = fetchFromGitHub { + owner = "google"; + repo = "xsecurelock"; + rev = "0fa0d7dd87a4cc4bdb402323f95c3fcacc6f5049"; + sha256 = "071b3gslszql1mgabs53r82jgbk9mn263m5v6adskfxbkamks8g0"; + }; + + nativeBuildInputs = [ autoreconfHook pkgconfig ]; + buildInputs = [ + libX11 libXcomposite libXft pam + apacheHttpd imagemagick pamtester + ]; + + configureFlags = [ + "--with-pam-service-name=login" + "--with-xscreensaver=${xscreensaver}/libexec/xscreensaver" + ]; + + meta = with lib; { + description = "X11 screen lock utility with security in mind"; + homepage = https://github.com/google/xsecurelock; + license = licenses.asl20; + maintainers = with maintainers; [ fpletz ]; + platforms = platforms.unix; + }; +} |