@@ -1,21 +1,20 @@
1−{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, openssh,
2−makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon }:
1+{ stdenv, fetchgit, cups, libssh, libXpm, nxproxy, openldap, openssh
2+, makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }:
33
44stdenv.mkDerivation rec {
5− name = "x2goclient-${version}";
6− version = "4.1.2.1";
5+ pname = "x2goclient";
6+ version = "unstable-2018-11-30";
77
8− src = fetchurl {
9− url = "https://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
10− sha256 = "1bzjzz2m9bqqndnk1p9p522cfapsqgkb0wllvqj9d4ir18grh60w";
8+ src = fetchgit {
9+ url = "git://code.x2go.org/x2goclient.git";
10+ rev = "659655675f11ffd361ab9fb48fa77a01a1536fe8";
11+ sha256 = "05gfs11m259bchy3k0ihqpwg9wf8lp94rbca5dzla9fjzrb7pyy4";
1112 };
1213
1314 buildInputs = [ cups libssh libXpm nxproxy openldap openssh
14− qtbase qtsvg qtx11extras qttools phonon ];
15+ qtbase qtsvg qtx11extras qttools phonon pkgconfig ];
1516 nativeBuildInputs = [ makeWrapper ];
1617
17− patches = [ ./qt511.patch ];
18−
1918 postPatch = ''
2019 substituteInPlace Makefile \
2120 --replace "SHELL=/bin/bash" "SHELL=$SHELL" \