xpra: add pam support

This commit is contained in:
Jaka Hudoklin 2016-12-04 22:26:43 +01:00
parent 8ce94b6e89
commit adabb646bd

View File

@ -3,7 +3,8 @@
, makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf, xkeyboard_config , makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf, xkeyboard_config
, ffmpeg, x264, libvpx, libwebp , ffmpeg, x264, libvpx, libwebp
, libfakeXinerama , libfakeXinerama
, gst_all_1, pulseaudioLight, gobjectIntrospection }: , gst_all_1, pulseaudioLight, gobjectIntrospection
, pam }:
with lib; with lib;
@ -36,16 +37,19 @@ in buildPythonApplication rec {
gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-bad
gst_all_1.gst-libav gst_all_1.gst-libav
pam
makeWrapper makeWrapper
]; ];
propagatedBuildInputs = with python2Packages; [ propagatedBuildInputs = with python2Packages; [
pillow pygtk pygobject2 rencode pycrypto cryptography pycups lz4 dbus-python pillow pygtk pygobject2 rencode pycrypto cryptography pycups lz4 dbus-python
netifaces numpy websockify pygobject3 gst-python netifaces numpy websockify pygobject3 gst-python pam
]; ];
preBuild = '' preBuild = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags gtk+-2.0) $(pkg-config --cflags pygtk-2.0) $(pkg-config --cflags xtst)" 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"]; setupPyBuildFlags = ["--with-Xdummy" "--without-strict"];