8414fa2d6b
This reverts commit f34b498bd2
.
It did not fix the build error in https://hydra.nixos.org/build/75464534/nixlog,
but #41449 did.
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, vte, libxml2, gtkvnc, intltool
|
|
, libsecret, itstool, makeWrapper, librsvg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
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"; };
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gtk3 vte libxml2 gtkvnc intltool libsecret
|
|
itstool makeWrapper gnome3.defaultIconTheme librsvg ];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
|
|
|
|
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;
|
|
};
|
|
}
|