xsecurelock: init at 2018-07-10
This commit is contained in:
parent
8aaf71f9e0
commit
3f324aa0cd
33
pkgs/tools/X11/xsecurelock/default.nix
Normal file
33
pkgs/tools/X11/xsecurelock/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -5944,6 +5944,8 @@ with pkgs;
|
|||
libxml2 = libxml2Python;
|
||||
};
|
||||
|
||||
xsecurelock = callPackage ../tools/X11/xsecurelock { };
|
||||
|
||||
xsel = callPackage ../tools/misc/xsel { };
|
||||
|
||||
xsv = callPackage ../tools/text/xsv { };
|
||||
|
|
Loading…
Reference in a new issue