xsecurelock: init at 2018-07-10

This commit is contained in:
Franz Pletz 2018-07-11 17:38:38 +02:00
parent 8aaf71f9e0
commit 3f324aa0cd
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
2 changed files with 35 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -5944,6 +5944,8 @@ with pkgs;
libxml2 = libxml2Python;
};
xsecurelock = callPackage ../tools/X11/xsecurelock { };
xsel = callPackage ../tools/misc/xsel { };
xsv = callPackage ../tools/text/xsv { };