2018-08-24 13:35:32 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, vte, libxml2, gtk-vnc, intltool
|
2016-09-18 20:35:23 +01:00
|
|
|
, libsecret, itstool, makeWrapper, librsvg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "vinagre-${version}";
|
|
|
|
version = "3.22.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/vinagre/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
|
|
sha256 = "cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82";
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript { packageName = "vinagre"; attrPath = "gnome3.vinagre"; };
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-08-24 13:35:32 +01:00
|
|
|
buildInputs = [ gtk3 vte libxml2 gtk-vnc intltool libsecret
|
2016-09-18 20:35:23 +01:00
|
|
|
itstool makeWrapper gnome3.defaultIconTheme librsvg ];
|
|
|
|
|
2018-06-04 15:07:19 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/bin/vinagre" \
|
|
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:$out/share"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://wiki.gnome.org/Apps/Vinagre;
|
|
|
|
description = "Remote desktop viewer for GNOME";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
};
|
|
|
|
}
|