2018-12-02 11:41:15 +00:00
|
|
|
{ stdenv, fetchurl, gobject-introspection
|
2018-07-21 00:44:44 +00:00
|
|
|
, gnutls, cairo, libtool, glib, pkgconfig
|
2018-08-24 12:36:54 +00:00
|
|
|
, cyrus_sasl, intltool, libpulseaudio
|
|
|
|
, libgcrypt, gtk3, vala, gnome3
|
|
|
|
, python3 }:
|
2014-01-06 22:35:39 +00:00
|
|
|
|
2018-08-24 12:36:54 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-06 22:35:39 +00:00
|
|
|
name = "gtk-vnc-${version}";
|
2018-08-24 12:36:54 +00:00
|
|
|
version = "0.9.0";
|
|
|
|
|
|
|
|
outputs = [ "out" "bin" "man" "dev" ];
|
2014-01-06 22:35:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-08-24 12:36:54 +00:00
|
|
|
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
|
|
sha256 = "1dya1wc9vis8h0fv625pii1n70cckf1xjg1m2hndz989d118i6is";
|
2011-01-13 22:21:09 +00:00
|
|
|
};
|
|
|
|
|
2018-08-24 12:36:54 +00:00
|
|
|
nativeBuildInputs = [
|
2018-12-02 11:41:15 +00:00
|
|
|
python3 pkgconfig intltool libtool gobject-introspection vala
|
2018-08-24 12:36:54 +00:00
|
|
|
];
|
2014-01-06 22:35:39 +00:00
|
|
|
buildInputs = [
|
2018-08-24 12:36:54 +00:00
|
|
|
gnutls cairo glib libgcrypt cyrus_sasl libpulseaudio gtk3
|
2017-09-14 19:24:37 +00:00
|
|
|
];
|
2011-01-13 22:21:09 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-examples"
|
|
|
|
];
|
|
|
|
|
2018-08-24 12:36:54 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gtk-vnc";
|
2018-11-20 20:03:38 +00:00
|
|
|
versionPolicy = "none";
|
2018-08-24 12:36:54 +00:00
|
|
|
};
|
|
|
|
};
|
2015-06-25 13:07:16 +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";
|
2018-08-24 12:36:54 +00:00
|
|
|
homepage = https://wiki.gnome.org/Projects/gtk-vnc;
|
|
|
|
license = licenses.lgpl21;
|
virt-manager: update to 1.0.1, fix & update dependencies, gtk3 support
- Vte, add gtk3 support, enable introspection, update to 0.35.90
- Spice-gtk, add gtk3 support
- gtk-vnc, add gtk3 support
- Add libvirt-glib (thanks @bjornfor)
- Add usbredir
- qemu, enable usbredir
- spice-gtk, enable usbredir
- virt-manager, update to 1.0.1
[Bjørn:
* Set namePrefix = "" to preserve package name "virt-manager"
(instead of "python2.7-virt-manager")
* Add dconf to GIO_EXTRA_MODULES to get persistent settings in
virt-manager. Without it:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
* Add ${gtk3}/share to XDG_DATA_DIRS to unbreak "Take Screenshot"
feature (fixes "Settings schema 'org.gtk.Settings.FileChooser' is not installed")
* gtk-vnc: don't pull "pkgs" attrset for optionalString, use stdenv.lib.optionalString instead.
]
2014-03-23 17:12:07 +00:00
|
|
|
maintainers = with maintainers; [ raskin offline ];
|
2014-01-06 22:35:39 +00:00
|
|
|
platforms = platforms.linux;
|
2011-01-13 22:21:09 +00:00
|
|
|
};
|
2014-01-06 22:35:39 +00:00
|
|
|
}
|