mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
5cc18c4781
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
35 lines
1,005 B
Nix
35 lines
1,005 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, vte, libxml2, gtk-vnc, intltool
|
|
, libsecret, itstool, wrapGAppsHook, librsvg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "vinagre-${version}";
|
|
version = "3.22.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/vinagre/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool wrapGAppsHook ];
|
|
buildInputs = [
|
|
gtk3 vte libxml2 gtk-vnc libsecret gnome3.defaultIconTheme librsvg
|
|
];
|
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "vinagre";
|
|
attrPath = "gnome3.vinagre";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Remote desktop viewer for GNOME";
|
|
homepage = https://wiki.gnome.org/Apps/Vinagre;
|
|
license = licenses.gpl2Plus;
|
|
maintainers = gnome3.maintainers;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|