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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

79 lines
1.3 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
2022-08-06 13:46:30 +00:00
, pulseaudioSupport ? stdenv.isLinux
, 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";
2022-07-15 04:01:57 +00:00
version = "1.3.1";
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";
2022-07-15 04:01:57 +00:00
sha256 = "USdjrE4FWdAVi2aCyl3Ro71jPwgvXkNJ1xWOa1+A8c4=";
};
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
gtk3
2022-08-06 13:46:30 +00:00
] ++ lib.optionals pulseaudioSupport [
libpulseaudio
];
mesonFlags = lib.optionals (!pulseaudioSupport) [
"-Dpulseaudio=disabled"
];
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 ];
2022-08-06 13:46:30 +00:00
platforms = platforms.unix;
};
}