From d92109247944666583d3173245d7b4a4bc201c09 Mon Sep 17 00:00:00 2001 From: Jascha Geerds Date: Thu, 13 Aug 2015 14:53:26 +0200 Subject: [PATCH] gnome-robots: init at 3.16.1 --- pkgs/desktops/gnome-3/3.16/default.nix | 4 ++- .../3.16/games/gnome-robots/default.nix | 25 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 pkgs/desktops/gnome-3/3.16/games/gnome-robots/default.nix diff --git a/pkgs/desktops/gnome-3/3.16/default.nix b/pkgs/desktops/gnome-3/3.16/default.nix index 125ea206dda9..697ddd261e0b 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-mines gnome-nibbles gnome-robots ]; inherit (pkgs) glib gtk2 webkitgtk24x gtk3 gtkmm3 libcanberra; @@ -314,6 +314,8 @@ let gnome-nibbles = callPackage ./games/gnome-nibbles { }; + gnome-robots = callPackage ./games/gnome-robots { }; + gnome-sudoku = callPackage ./games/gnome-sudoku { }; iagno = callPackage ./games/iagno { }; diff --git a/pkgs/desktops/gnome-3/3.16/games/gnome-robots/default.nix b/pkgs/desktops/gnome-3/3.16/games/gnome-robots/default.nix new file mode 100644 index 000000000000..a4f945184253 --- /dev/null +++ b/pkgs/desktops/gnome-3/3.16/games/gnome-robots/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, librsvg, libcanberra_gtk3, intltool, itstool, libxml2 +, hicolor_icon_theme }: + +stdenv.mkDerivation rec { + name = "gnome-robots-${gnome3.version}.1"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-robots/${gnome3.version}/${name}.tar.xz"; + sha256 = "0dhzl1rhn4ysp3s3j0lxsiw64acz0w1n1bljrfln9s07x8nj17nx"; + }; + + buildInputs = [ + pkgconfig gtk3 wrapGAppsHook intltool itstool librsvg libcanberra_gtk3 + libxml2 hicolor_icon_theme + ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Robots; + description = "Avoid the robots and make them crash into each other"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +}