at release-16.03-start 28 lines 761 B view raw
1{ stdenv, fetchurl, autoreconfHook, libjpeg, libpng12, libX11, zlib }: 2 3stdenv.mkDerivation rec { 4 name = "libxcomp-${version}"; 5 version = "3.5.0.32"; 6 7 src = fetchurl { 8 sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm"; 9 url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz"; 10 }; 11 12 buildInputs = [ libjpeg libpng12 libX11 zlib ]; 13 nativeBuildInputs = [ autoreconfHook ]; 14 15 preAutoreconf = '' 16 cd nxcomp/ 17 ''; 18 19 enableParallelBuilding = true; 20 21 meta = with stdenv.lib; { 22 description = "NX compression library"; 23 homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs"; 24 license = licenses.gpl2; 25 platforms = platforms.linux; 26 maintainers = with maintainers; [ nckx ]; 27 }; 28}