nixpkgs/pkgs/applications/networking/remote/ssvnc/default.nix
Edward Tjörnhammar 960b58d280 wish fix for ssvnc (close #1560)
tcl deps change? causes wish to be missing
this corrects the wish path to use the one from tk
2014-01-26 15:52:00 +01:00

29 lines
901 B
Nix

{ stdenv, fetchurl, imake, zlib, openjdk, libX11, libXt, libXmu
, libXaw, libXext, libXpm, openjpeg, openssl, tcl, tk }:
stdenv.mkDerivation rec {
name = "ssvnc-${version}";
version = "1.0.29";
src = fetchurl {
url = "mirror://sourceforge/ssvnc/${name}.src.tar.gz";
sha256 = "74df32eb8eaa68b07c9693a232ebe42154617c7f3cbe1d4e68d3fe7c557d618d";
};
buildInputs = [ imake zlib openjdk libX11 libXt libXmu libXaw libXext libXpm openjpeg openssl ];
configurePhase = "makeFlags=PREFIX=$out";
postInstall = ''
sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/lib/ssvnc/util/ssvnc.tcl
'';
meta = {
description = "VNC viewer that adds encryption security to VNC connections";
homepage = "http://www.karlrunge.com/x11vnc/ssvnc.html";
license = "GPLv2";
maintainers = [ stdenv.lib.maintainers.edwtjo ];
platforms = with stdenv.lib.platforms; linux;
};
}