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

43 lines
1.0 KiB
Nix
Raw Normal View History

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