1 { lib, stdenv, fetchurl, autoreconfHook, pkg-config, libjpeg, libpng, libX11, zlib }:
3 stdenv.mkDerivation rec {
8 sha256 = "1m3z9w3h6qpgk265xf030w7lcs181jgw2cdyzshb7l97mn1f7hh2";
9 url = "https://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz";
12 buildInputs = [ libjpeg libpng libX11 zlib ];
13 nativeBuildInputs = [ autoreconfHook pkg-config ];
17 sed -i 's|/src/.libs/libXcomp.a|/src/.libs/libXcomp.la|' test/Makefile.am
20 enableParallelBuilding = true;
23 description = "NX compression library";
24 homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
25 license = licenses.gpl2;
26 platforms = platforms.linux;