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

73 lines
1.1 KiB
Nix
Raw Normal View History

2021-04-15 21:57:47 +00:00
{ lib
, stdenv
, fetchurl
, meson
, ninja
, gobject-introspection
, gnutls
, cairo
, glib
, pkg-config
, cyrus_sasl
, libpulseaudio
, libgcrypt
, gtk3
, vala
, gettext
, perl
, python3
, gnome
2019-08-22 21:14:37 +00:00
, gdk-pixbuf
, zlib
}:
2018-08-24 12:36:54 +00:00
stdenv.mkDerivation rec {
pname = "gtk-vnc";
version = "1.3.0";
2018-08-24 12:36:54 +00:00
outputs = [ "out" "bin" "man" "dev" ];
src = fetchurl {
2021-01-15 09:19:50 +00:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "X6qlgjuMvowLC6HkVsTnDEsa5mhcn+gaQoLZjPAKIR0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
gettext
perl # for pod2man
python3
];
buildInputs = [
gnutls
cairo
2019-08-22 21:14:37 +00:00
gdk-pixbuf
zlib
glib
libgcrypt
cyrus_sasl
libpulseaudio
gtk3
];
2018-08-24 12:36:54 +00:00
passthru = {
updateScript = gnome.updateScript {
2019-08-22 21:14:37 +00:00
packageName = pname;
versionPolicy = "none";
2018-08-24 12:36:54 +00:00
};
};
2015-06-25 13:07:16 +00:00
meta = with lib; {
description = "GTK VNC widget";
homepage = "https://wiki.gnome.org/Projects/gtk-vnc";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ raskin offline ];
platforms = platforms.linux;
};
}