Add x2goclient 4.0.3.2
Thanks to Christoph-Simon Senjak <c s s at u x u l dot d e>
This commit is contained in:
parent
2a93bee7f3
commit
22080d1951
37
pkgs/applications/networking/remote/x2goclient/default.nix
Normal file
37
pkgs/applications/networking/remote/x2goclient/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
|
||||||
|
|
||||||
|
let version = "4.0.3.2"; in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "x2goclient-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
|
||||||
|
sha256 = "0vqcz9kmnbvlj8kns68zl60019fdz97rydz4wsgnsgdf7r370npn";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Graphical NoMachine NX3 remote desktop client";
|
||||||
|
homepage = http://x2go.org/;
|
||||||
|
license = with licenses; gpl2;
|
||||||
|
platforms = with platforms; linux;
|
||||||
|
maintainers = with maintainers; [ nckx ];
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cups libssh libXpm nxproxy openldap makeWrapper qt4 ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace "lrelease-qt4" "${qt4}/bin/lrelease" \
|
||||||
|
--replace "qmake-qt4" "${qt4}/bin/qmake" \
|
||||||
|
--replace "-o root -g root" ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=$(out)" "ETCDIR=$(out)/etc" ];
|
||||||
|
|
||||||
|
enableParallelBuild = true;
|
||||||
|
|
||||||
|
installTargets = [ "install_client" "install_man" ];
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nxproxy}/bin";
|
||||||
|
'';
|
||||||
|
}
|
@ -12010,6 +12010,8 @@ let
|
|||||||
|
|
||||||
x11vnc = callPackage ../tools/X11/x11vnc { };
|
x11vnc = callPackage ../tools/X11/x11vnc { };
|
||||||
|
|
||||||
|
x2goclient = callPackage ../applications/networking/remote/x2goclient { };
|
||||||
|
|
||||||
x2vnc = callPackage ../tools/X11/x2vnc { };
|
x2vnc = callPackage ../tools/X11/x2vnc { };
|
||||||
|
|
||||||
xaos = builderDefsPackage (import ../applications/graphics/xaos) {
|
xaos = builderDefsPackage (import ../applications/graphics/xaos) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user