2014-01-06 22:35:39 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, python, gtk, pygtk, gnutls, cairo, libtool, glib, pkgconfig, libtasn1
|
|
|
|
, libffi, cyrus_sasl, intltool, perl, perlPackages, firefoxPkgs, pulseaudio
|
|
|
|
, kbproto, libX11, libXext, xextproto, pygobject, libgcrypt }:
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gtk-vnc-${version}";
|
|
|
|
version = "0.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gtk-vnc/0.5/${name}.tar.xz";
|
|
|
|
sha256 = "1bww2ihxb3zzvifdrcsy1lifr664pvikq17hmr1hsm8fyk4ad46l";
|
2011-01-13 22:21:09 +00:00
|
|
|
};
|
|
|
|
|
2014-01-06 22:35:39 +00:00
|
|
|
buildInputs = [
|
|
|
|
python gtk pygtk gnutls cairo libtool pkgconfig glib libffi libgcrypt
|
|
|
|
intltool cyrus_sasl pulseaudio pygobject perl perlPackages.TextCSV
|
|
|
|
];
|
2011-01-13 22:21:09 +00:00
|
|
|
|
2014-01-06 22:35:39 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-fstack-protector-all";
|
2011-01-13 22:21:09 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-python"
|
|
|
|
"--with-examples"
|
|
|
|
];
|
|
|
|
|
2014-01-06 22:35:39 +00:00
|
|
|
makeFlags = "CODEGENDIR=${pygobject}/share/pygobject/2.0/codegen/ DEFSDIR=${pygtk}/share/pygtk/2.0/defs/";
|
2011-01-13 22:21:09 +00:00
|
|
|
|
2014-01-06 22:35:39 +00:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-13 22:21:09 +00:00
|
|
|
description = "A GTK VNC widget";
|
2014-01-06 22:35:39 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
2011-01-13 22:21:09 +00:00
|
|
|
};
|
2014-01-06 22:35:39 +00:00
|
|
|
|
2011-01-13 22:21:09 +00:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc";
|
|
|
|
};
|
|
|
|
};
|
2014-01-06 22:35:39 +00:00
|
|
|
}
|