From d2c1227601afff6951dd02c88705a39f2baf166c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Mon, 11 Mar 2019 18:36:26 +0100 Subject: [PATCH] gnome3.four-in-a-row: 3.28.0 -> 3.32.0 --- .../gnome-3/games/four-in-a-row/default.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix b/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix index 8955bcbc4984..94428d6640d0 100644 --- a/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix +++ b/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix @@ -1,18 +1,27 @@ { stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook -, gettext, itstool, libcanberra-gtk3, librsvg, libxml2 }: +, gettext, meson, libcanberra-gtk3, librsvg, itstool, vala +, python3, ninja, desktop-file-utils }: stdenv.mkDerivation rec { name = "four-in-a-row-${version}"; - version = "3.28.0"; + version = "3.32.0"; src = fetchurl { url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; - sha256 = "1iszaay2r92swb0q67lmip6r1w3hw2dwmlgnz9v2h6blgdyncs4k"; + sha256 = "0h4wmbkdp7x3gp9sbxmvla316m8n6iy4f5sq0ksldj0z7ghlx9zl"; }; - nativeBuildInputs = [ pkgconfig wrapGAppsHook gettext itstool libxml2 ]; + nativeBuildInputs = [ + pkgconfig wrapGAppsHook gettext meson itstool vala + ninja python3 desktop-file-utils + ]; buildInputs = [ gtk3 libcanberra-gtk3 librsvg gnome3.adwaita-icon-theme ]; + postPatch = '' + chmod +x build-aux/meson_post_install.py + patchShebangs build-aux/meson_post_install.py + ''; + passthru = { updateScript = gnome3.updateScript { packageName = "four-in-a-row";