1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00
nixpkgs/pkgs/tools/admin/gtk-vnc/default.nix

74 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, fetchpatch
, meson
, ninja
, gobject-introspection
, gnutls
, cairo
, glib
, pkgconfig
, cyrus_sasl
, libpulseaudio
, libgcrypt
, gtk3
, vala
, gettext
, perl
, gnome3
}:
2018-08-24 13:36:54 +01:00
stdenv.mkDerivation rec {
pname = "gtk-vnc";
version = "1.0.0";
2018-08-24 13:36:54 +01:00
outputs = [ "out" "bin" "man" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8";
};
patches = [
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtk-vnc/commit/8588bc1c8321152ddc5086ca9b2c03a7f511e0d0.patch";
sha256 = "0i1iapsbngl1mhnz22dd73mnzk68qc4n51pqdhnm18zqc8pawvh4";
})
2018-08-24 13:36:54 +01:00
];
nativeBuildInputs = [
meson
ninja
pkgconfig
gobject-introspection
vala
gettext
perl # for pod2man
];
buildInputs = [
gnutls
cairo
glib
libgcrypt
cyrus_sasl
libpulseaudio
gtk3
];
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 = "GTK VNC widget";
2018-08-24 13:36:54 +01:00
homepage = https://wiki.gnome.org/Projects/gtk-vnc;
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ raskin offline ];
platforms = platforms.linux;
};
}