nixpkgs-suyu/pkgs/tools/admin/gtk-vnc/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, gobject-introspection
, gnutls, cairo, libtool, glib, pkgconfig
2018-08-24 14:36:54 +02:00
, cyrus_sasl, intltool, libpulseaudio
, libgcrypt, gtk3, vala, gnome3
, python3 }:
2018-08-24 14:36:54 +02:00
stdenv.mkDerivation rec {
name = "gtk-vnc-${version}";
2018-08-24 14:36:54 +02:00
version = "0.9.0";
outputs = [ "out" "bin" "man" "dev" ];
src = fetchurl {
2018-08-24 14:36:54 +02:00
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is";
};
2018-08-24 14:36:54 +02:00
nativeBuildInputs = [
python3 pkgconfig intltool libtool gobject-introspection vala
2018-08-24 14:36:54 +02:00
];
buildInputs = [
2018-08-24 14:36:54 +02:00
gnutls cairo glib libgcrypt cyrus_sasl libpulseaudio gtk3
];
configureFlags = [
"--with-examples"
];
2018-08-24 14:36:54 +02:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "gtk-vnc";
versionPolicy = "none";
2018-08-24 14:36:54 +02:00
};
};
2015-06-25 15:07:16 +02:00
meta = with stdenv.lib; {
description = "A GTK VNC widget";
2018-08-24 14:36:54 +02:00
homepage = https://wiki.gnome.org/Projects/gtk-vnc;
license = licenses.lgpl21;
maintainers = with maintainers; [ raskin offline ];
platforms = platforms.linux;
};
}