diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix b/nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix new file mode 100644 index 00000000000..59b92a8b61c --- /dev/null +++ b/nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook +, librsvg, gsound, clutter-gtk, gettext, itstool, vala, python3 +, libxml2, libgee, libgnome-games-support, meson, ninja +, desktop-file-utils, hicolor-icon-theme}: + +stdenv.mkDerivation rec { + pname = "gnome-nibbles"; + version = "3.34.1"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "0nfy1wvxsyrpdinfn5v86gvq3ma487njz607biwwhji9z050gw3p"; + }; + + nativeBuildInputs = [ + meson ninja vala python3 + pkgconfig wrapGAppsHook gettext itstool libxml2 + desktop-file-utils hicolor-icon-theme + ]; + buildInputs = [ + gtk3 librsvg gsound clutter-gtk gnome3.adwaita-icon-theme + libgee libgnome-games-support + ]; + + passthru = { + updateScript = gnome3.updateScript { + packageName = "gnome-nibbles"; + attrPath = "gnome3.gnome-nibbles"; + }; + }; + + meta = with stdenv.lib; { + description = "Guide a worm around a maze"; + homepage = https://wiki.gnome.org/Apps/Nibbles; + license = licenses.gpl2; + maintainers = gnome3.maintainers; + platforms = platforms.linux; + }; +} |