2024-08-11 16:34:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
vala,
|
|
|
|
pkg-config,
|
|
|
|
desktop-file-utils,
|
|
|
|
wrapGAppsHook4,
|
|
|
|
gobject-introspection,
|
|
|
|
gettext,
|
|
|
|
itstool,
|
|
|
|
libxml2,
|
|
|
|
gnome,
|
|
|
|
glib,
|
|
|
|
gtk4,
|
|
|
|
libadwaita,
|
|
|
|
librsvg,
|
|
|
|
pango,
|
2021-03-21 06:36:31 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gnome-chess";
|
2024-02-13 11:26:00 +00:00
|
|
|
version = "46.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-08-11 16:34:02 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-chess/${lib.versions.major version}/gnome-chess-${version}.tar.xz";
|
2024-02-13 11:26:00 +00:00
|
|
|
hash = "sha256-oryQ4KdUMSxXibkZi0knMDd1tiWDqOlnbSxqlztG/ec=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2021-03-21 06:36:31 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
2022-09-16 23:36:51 +00:00
|
|
|
desktop-file-utils
|
2021-03-21 06:36:31 +00:00
|
|
|
wrapGAppsHook4
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk4
|
2022-02-16 18:34:29 +00:00
|
|
|
libadwaita
|
2021-03-21 06:36:31 +00:00
|
|
|
librsvg
|
2022-08-12 18:53:04 +00:00
|
|
|
pango
|
2021-03-21 06:36:31 +00:00
|
|
|
];
|
2018-03-14 01:02:59 +00:00
|
|
|
|
2018-02-25 20:07:20 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-14 01:02:59 +00:00
|
|
|
packageName = "gnome-chess";
|
2021-05-07 21:18:14 +00:00
|
|
|
attrPath = "gnome.gnome-chess";
|
2018-03-14 01:02:59 +00:00
|
|
|
};
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/GNOME/gnome-chess";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "Play the classic two-player boardgame of chess";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "gnome-chess";
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2021-03-21 06:36:31 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2022-12-07 19:42:42 +00:00
|
|
|
platforms = platforms.unix;
|
2016-09-18 19:35:23 +00:00
|
|
|
};
|
|
|
|
}
|