Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 27 lines 709 B view raw
1{ stdenv, fetchurl, autoreconfHook, libjpeg, libpng, libX11, zlib }: 2 3stdenv.mkDerivation rec { 4 name = "libxcomp-${version}"; 5 version = "3.5.0.33"; 6 7 src = fetchurl { 8 sha256 = "17qjsd6v2ldpfmyjrkdnlq4qk05hz5l6qs54g8h0glzq43w28f74"; 9 url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz"; 10 }; 11 12 buildInputs = [ libjpeg libpng 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 }; 27}