diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 697ddd261e0b..0442438354ef 100644 --- a/pkgs/desktops/gnome-3/3.16/default.nix +++ b/pkgs/desktops/gnome-3/3.16/default.nix @@ -36,7 +36,7 @@ let gamesPackages = with gnome3; [ swell-foop lightsoff iagno tali quadrapassel gnome-sudoku aisleriot five-or-more four-in-a-row gnome-chess gnome-klotski gnome-mahjongg - gnome-mines gnome-nibbles gnome-robots + gnome-mines gnome-nibbles gnome-robots gnome-tetravex ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -318,6 +318,8 @@ let gnome-sudoku = callPackage ./games/gnome-sudoku { }; + gnome-tetravex = callPackage ./games/gnome-tetravex { }; + iagno = callPackage ./games/iagno { }; lightsoff = callPackage ./games/lightsoff { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/gnome-tetravex/default.nix b/pkgs/desktops/gnome-3/3.16/games/gnome-tetravex/default.nix new file mode 100644 index 000000000000..37654f8fa338 --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/gnome-tetravex/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, libxml2, intltool, itstool, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "gnome-tetravex-${gnome3.version}.0"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-tetravex/${gnome3.version}/${name}.tar.xz"; + sha256 = "07cmcmrd5fj8vm682894gra2vj8jwx01n3ggjinl93yv4gwpplz9"; + }; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook intltool itstool libxml2 hicolor_icon_theme + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Tetravex; + description = "Complete the puzzle by matching numbered tiles"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +}