nixpkgs/pkgs/tools/admin/tightvnc/default.nix
John Wiegley 28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00

34 lines
1 KiB
Nix

{stdenv, fetchurl, x11, zlib, libjpeg, imake, gccmakedep, libXmu, libXaw, libXpm, libXp , perl, xauth, fontDirectories}:
stdenv.mkDerivation {
name = "tightvnc-1.3.10";
src = fetchurl {
url = mirror://sourceforge/vnc-tight/tightvnc-1.3.10_unixsrc.tar.bz2;
sha256 = "f48c70fea08d03744ae18df6b1499976362f16934eda3275cead87baad585c0d";
};
# for the builder script
inherit xauth fontDirectories perl;
gcc = stdenv.cc.gcc;
buildInputs = [x11 zlib libjpeg imake gccmakedep libXmu libXaw libXpm libXp xauth];
builder = ./builder.sh;
meta = {
license = stdenv.lib.licenses.gpl2Plus;
homepage = "http://vnc-tight.sourceforge.net/";
description = "Improved version of VNC";
longDescription = ''
TightVNC is an improved version of VNC, the great free
remote-desktop tool. The improvements include bandwidth-friendly
"tight" encoding, file transfers in the Windows version, enhanced
GUI, many bugfixes, and more.
'';
maintainers = [];
platforms = stdenv.lib.platforms.unix;
};
}