1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/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 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 gobject-introspection vala
2018-08-24 13:36:54 +01:00
];
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";
versionPolicy = "none";
2018-08-24 13:36:54 +01:00
};
};
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;
};
}