xpra: add pam support
This commit is contained in:
parent
8ce94b6e89
commit
adabb646bd
@ -3,7 +3,8 @@
|
||||
, makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf, xkeyboard_config
|
||||
, ffmpeg, x264, libvpx, libwebp
|
||||
, libfakeXinerama
|
||||
, gst_all_1, pulseaudioLight, gobjectIntrospection }:
|
||||
, gst_all_1, pulseaudioLight, gobjectIntrospection
|
||||
, pam }:
|
||||
|
||||
with lib;
|
||||
|
||||
@ -36,16 +37,19 @@ in buildPythonApplication rec {
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-libav
|
||||
|
||||
pam
|
||||
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python2Packages; [
|
||||
pillow pygtk pygobject2 rencode pycrypto cryptography pycups lz4 dbus-python
|
||||
netifaces numpy websockify pygobject3 gst-python
|
||||
netifaces numpy websockify pygobject3 gst-python pam
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags gtk+-2.0) $(pkg-config --cflags pygtk-2.0) $(pkg-config --cflags xtst)"
|
||||
substituteInPlace xpra/server/auth/pam.py --replace "/lib/libpam.so.1" "${pam}/lib/libpam.so"
|
||||
'';
|
||||
setupPyBuildFlags = ["--with-Xdummy" "--without-strict"];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user