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

71 lines
1.1 KiB
Nix
Raw Normal View History

2021-04-15 23:57:47 +02:00
{ lib
, stdenv
, fetchurl
, meson
, ninja
, gobject-introspection
, gnutls
, cairo
, glib
, pkg-config
, cyrus_sasl
, libpulseaudio
, libgcrypt
, gtk3
, vala
, gettext
, perl
, gnome
2019-08-22 23:14:37 +02:00
, gdk-pixbuf
, zlib
}:
2018-08-24 14:36:54 +02:00
stdenv.mkDerivation rec {
pname = "gtk-vnc";
2021-04-15 23:57:47 +02:00
version = "1.2.0";
2018-08-24 14:36:54 +02:00
outputs = [ "out" "bin" "man" "dev" ];
src = fetchurl {
2021-01-15 10:19:50 +01:00
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2021-04-15 23:57:47 +02:00
sha256 = "0jmr6igyzcj2wmx5v5ywaazvdz3hx6a6rys26yb4l4s71l281bvs";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
gettext
perl # for pod2man
];
buildInputs = [
gnutls
cairo
2019-08-22 23:14:37 +02:00
gdk-pixbuf
zlib
glib
libgcrypt
cyrus_sasl
libpulseaudio
gtk3
];
2018-08-24 14:36:54 +02:00
passthru = {
updateScript = gnome.updateScript {
2019-08-22 23:14:37 +02:00
packageName = pname;
versionPolicy = "none";
2018-08-24 14:36:54 +02:00
};
};
2015-06-25 15:07:16 +02: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;
};
}