2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gnome3, gtk3, wrapGAppsHook
|
2018-02-25 03:23:58 +01:00
|
|
|
, librsvg, libcanberra-gtk3, clutter-gtk, intltool, itstool
|
2018-07-22 04:03:24 +02:00
|
|
|
, libxml2, libgee, libgnome-games-support }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "gnome-nibbles-${version}";
|
2019-08-19 12:22:42 +02:00
|
|
|
version = "3.32.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2019-08-19 12:22:42 +02:00
|
|
|
sha256 = "0g627pzbfywiy2rsh4aidgbln9s4j5m8pryw4cgr5ygc4z8l6l9p";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2018-08-25 13:42:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
|
2016-09-18 21:35:23 +02:00
|
|
|
buildInputs = [
|
2019-02-13 22:47:50 +01:00
|
|
|
gtk3 librsvg libcanberra-gtk3 clutter-gtk gnome3.adwaita-icon-theme
|
2018-07-22 04:03:24 +02:00
|
|
|
libgee libgnome-games-support
|
2016-09-18 21:35:23 +02:00
|
|
|
];
|
|
|
|
|
2018-08-25 13:42:37 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-nibbles";
|
|
|
|
attrPath = "gnome3.gnome-nibbles";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Guide a worm around a maze";
|
2018-08-25 13:42:37 +02:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Nibbles;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl2;
|
2018-08-25 13:42:37 +02:00
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|