2021-01-17 02:21:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gnome3, gtk3, wrapGAppsHook
|
2019-09-02 17:45:04 +01:00
|
|
|
, librsvg, gsound, clutter-gtk, gettext, itstool, vala, python3
|
|
|
|
, libxml2, libgee, libgnome-games-support, meson, ninja
|
|
|
|
, desktop-file-utils, hicolor-icon-theme}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "gnome-nibbles";
|
2020-11-17 14:26:29 +00:00
|
|
|
version = "3.38.2";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-11-17 14:26:29 +00:00
|
|
|
sha256 = "1naknfbciydbym79a0jq039xf0033z8gyln48c0qsbcfr2qn8yj5";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2019-09-02 17:45:04 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja vala python3
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config wrapGAppsHook gettext itstool libxml2
|
2019-09-02 17:45:04 +01:00
|
|
|
desktop-file-utils hicolor-icon-theme
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
buildInputs = [
|
2019-09-02 17:45:04 +01:00
|
|
|
gtk3 librsvg gsound clutter-gtk gnome3.adwaita-icon-theme
|
2018-07-22 03:03:24 +01:00
|
|
|
libgee libgnome-games-support
|
2016-09-18 20:35:23 +01:00
|
|
|
];
|
|
|
|
|
2018-08-25 12:42:37 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-nibbles";
|
|
|
|
attrPath = "gnome3.gnome-nibbles";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "Guide a worm around a maze";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Nibbles";
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|