Skip to content

Commit

Permalink
gnome3.five-or-more: 3.28.0 → 3.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Nov 30, 2018
1 parent 813c96b commit f6c9a67
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions pkgs/desktops/gnome-3/games/five-or-more/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
, librsvg, intltool, itstool, libxml2 }:
{ stdenv, fetchurl, meson, ninja, pkgconfig, gnome3, gtk3, wrapGAppsHook
, librsvg, libgnome-games-support, gettext, itstool, libxml2, python3 }:

stdenv.mkDerivation rec {
name = "five-or-more-${version}";
version = "3.28.0";
version = "3.30.0";

src = fetchurl {
url = "mirror://gnome/sources/five-or-more/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1fy4a7qdjqvabm0cl45d6xlx6hy4paxvm0b2paifff73bl250d5c";
sha256 = "00d729p251kh96624i7qg2370r5mxwafs016i6hy01vsr71jzb9x";
};

passthru = {
updateScript = gnome3.updateScript { packageName = "five-or-more"; attrPath = "gnome3.five-or-more"; };
};

nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool libxml2 python3 wrapGAppsHook ];
buildInputs = [
gtk3 wrapGAppsHook librsvg intltool itstool libxml2
gnome3.defaultIconTheme
gtk3 librsvg libgnome-games-support gnome3.defaultIconTheme
];

postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';

passthru = {
updateScript = gnome3.updateScript {
packageName = "five-or-more";
attrPath = "gnome3.five-or-more";
};
};

meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Five_or_more;
description = "Remove colored balls from the board by forming lines";
Expand Down

0 comments on commit f6c9a67

Please sign in to comment.