d802bacdd9
This is because the original version is no longer in development, as stated on the website at http://code.google.com/p/partiwm/wiki/xpra: "This project is in deep hibernation; I haven't had time to devote for several years now. If you are looking for xpra, you may prefer Antoine Martin's fork, which receives more support. It is available at: http://xpra.org/" So I guess its safe to switch over to that fork.
38 lines
1.1 KiB
Nix
38 lines
1.1 KiB
Nix
{stdenv, fetchurl, pkgconfig, python, cython, pygtk, xlibs, gtk, ffmpeg, x264, libvpx, makeWrapper}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "xpra-0.3.2";
|
|
|
|
src = fetchurl {
|
|
url = http://xpra.org/src/xpra-0.3.2.tar.bz2;
|
|
sha256 = "1s1z6r0r78qvf59ci3vxammjz7lj5m64jyk0bfn7yxd5jl3sy41y";
|
|
};
|
|
|
|
buildInputs = [
|
|
pkgconfig python cython pygtk gtk ffmpeg x264 libvpx makeWrapper
|
|
xlibs.inputproto xlibs.libXcomposite xlibs.libXdamage xlibs.libXtst
|
|
];
|
|
|
|
buildPhase = ''
|
|
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags gtk+-2.0) $(pkg-config --cflags pygtk-2.0)"
|
|
NIX_LDFLAGS="$NIX_LDFLAGS -lXcomposite -lXdamage"
|
|
./do-build
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
cp -r install/* $out
|
|
|
|
for i in $(cd $out/bin && ls); do
|
|
wrapProgram $out/bin/$i \
|
|
--set PYTHONPATH "$out/lib/python:$(toPythonPath ${pygtk})/gtk-2.0:$PYTHONPATH" \
|
|
--prefix PATH : "${xlibs.xauth}/bin:${xlibs.xorgserver}/bin:${xlibs.xmodmap}/bin"
|
|
done
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://xpra.org/;
|
|
description = "Persistent remote applications for X";
|
|
};
|
|
}
|