depot/third_party/nixpkgs/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

39 lines
1.1 KiB
Nix

{ 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.36.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "17n6ji6yr521kzxfbfm0yxvrlnw4hlzacbwn0jqmw7xf3pdq35z6";
};
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 = teams.gnome.members;
platforms = platforms.linux;
};
}