Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 30 lines 757 B view raw
1{ stdenv, fetchurl, autoreconfHook, libxcomp }: 2 3stdenv.mkDerivation rec { 4 name = "nxproxy-${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 = [ libxcomp ]; 13 nativeBuildInputs = [ autoreconfHook ]; 14 15 preAutoreconf = '' 16 cd nxproxy/ 17 ''; 18 19 makeFlags = [ "exec_prefix=$(out)" ]; 20 21 enableParallelBuilding = true; 22 23 meta = with stdenv.lib; { 24 description = "NX compression proxy"; 25 homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs"; 26 license = licenses.gpl2; 27 platforms = platforms.linux; 28 maintainers = with maintainers; [ nckx ]; 29 }; 30}