mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
xtrlock-pam: init at 3.4
This commit is contained in:
parent
26eaa93094
commit
260be2cbf6
27
pkgs/misc/screensavers/xtrlock-pam/default.nix
Normal file
27
pkgs/misc/screensavers/xtrlock-pam/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchgit, python, pkgconfig, x11, pam }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "xtrlock-pam-3.4-post-20150909";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/aanatoly/xtrlock-pam";
|
||||||
|
rev = "6f4920fcfff54791c0779057e9efacbbbbc05df6";
|
||||||
|
sha256 = "fa8aeedfa2a4e1d813f8cad562bafdd4e2c5130df0a7cde7b2f956a32044e9f8";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ python pkgconfig x11 pam ];
|
||||||
|
|
||||||
|
configurePhase = ''
|
||||||
|
substituteInPlace .config/options.py --replace /usr/include/security/pam_appl.h ${pam}/include/security/pam_appl.h
|
||||||
|
substituteInPlace src/xtrlock.c --replace system-local-login xscreensaver
|
||||||
|
python configure --prefix=$out
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/aanatoly/xtrlock-pam;
|
||||||
|
description = "PAM based X11 screen locker";
|
||||||
|
license = "unknown";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
||||||
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
|
};
|
||||||
|
}
|
@ -15028,6 +15028,8 @@ let
|
|||||||
|
|
||||||
xlockmore = callPackage ../misc/screensavers/xlockmore { };
|
xlockmore = callPackage ../misc/screensavers/xlockmore { };
|
||||||
|
|
||||||
|
xtrlock-pam = callPackage ../misc/screensavers/xtrlock-pam { };
|
||||||
|
|
||||||
sails = callPackage ../misc/sails { };
|
sails = callPackage ../misc/sails { };
|
||||||
|
|
||||||
canon-cups-ufr2 = callPackage ../misc/cups/drivers/canon { };
|
canon-cups-ufr2 = callPackage ../misc/cups/drivers/canon { };
|
||||||
|
Loading…
Reference in New Issue
Block a user