1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{ lib
, stdenv
, fetchurl
, pkg-config
, gnome
, gtk4
, wrapGAppsHook4
, librsvg
, gsound
, gettext
, itstool
, vala
, libxml2
, libgee
, libgnome-games-support_2_0
, meson
, ninja
, desktop-file-utils
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnome-nibbles";
version = "4.0.2";
src = fetchurl {
url = "mirror://gnome/sources/gnome-nibbles/${lib.versions.majorMinor finalAttrs.version}/gnome-nibbles-${finalAttrs.version}.tar.xz";
sha256 = "SF+Mnq03/xr/ANXFfZk40PXc/xyocDHyKkrjhS6HU8U=";
};
nativeBuildInputs = [
meson
ninja
vala
pkg-config
wrapGAppsHook4
gettext
itstool
libxml2
desktop-file-utils
];
buildInputs = [
gtk4
librsvg
gsound
libgee
libgnome-games-support_2_0
];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-nibbles";
attrPath = "gnome.gnome-nibbles";
};
};
meta = with lib; {
description = "Guide a worm around a maze";
mainProgram = "gnome-nibbles";
homepage = "https://wiki.gnome.org/Apps/Nibbles";
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
})
|