diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 58cf642c69de..b6d26a887134 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -35,6 +35,7 @@ let gamesPackages = with gnome3; [ swell-foop lightsoff iagno tali quadrapassel gnome-sudoku aisleriot five-or-more + four-in-a-row ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -300,6 +301,8 @@ let five-or-more = callPackage ./games/five-or-more { }; + four-in-a-row = callPackage ./games/four-in-a-row { }; + gnome-sudoku = callPackage ./games/gnome-sudoku { }; iagno = callPackage ./games/iagno { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix b/pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix new file mode 100644 index 000000000000..bf15f9f2bbbe --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/four-in-a-row/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, intltool, itstool, libcanberra_gtk3, librsvg, libxml2 +, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "four-in-a-row-${gnome3.version}.2"; + + src = fetchurl { + url = "mirror://gnome/sources/four-in-a-row/${gnome3.version}/${name}.tar.xz"; + sha256 = "1bm5chsvpw0jg1xh9g2n1w5i0fvxs50aqkgmrla9cpawsvzfshmz"; + }; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook intltool itstool libcanberra_gtk3 librsvg + libxml2 hicolor_icon_theme + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Four-in-a-row; + description = "Make lines of the same color to win"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +}