2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, pkg-config
|
2022-10-21 18:38:19 +00:00
|
|
|
, desktop-file-utils
|
2021-05-20 23:08:51 +00:00
|
|
|
, wrapGAppsHook4
|
|
|
|
, gobject-introspection
|
|
|
|
, gettext
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, gnome
|
|
|
|
, glib
|
|
|
|
, gtk4
|
2022-03-30 09:31:56 +00:00
|
|
|
, libadwaita
|
2021-05-20 23:08:51 +00:00
|
|
|
, librsvg
|
2022-08-21 13:32:41 +00:00
|
|
|
, pango
|
2021-05-20 23:08:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-chess";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "43.1";
|
2021-05-20 23:08:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-chess/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "c08JLZX8YECe6so0J7WkjLm1mdoRmVEZ2FuqmWU+ApI=";
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
2022-10-21 18:38:19 +00:00
|
|
|
desktop-file-utils
|
2021-05-20 23:08:51 +00:00
|
|
|
wrapGAppsHook4
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk4
|
2022-03-30 09:31:56 +00:00
|
|
|
libadwaita
|
2021-05-20 23:08:51 +00:00
|
|
|
librsvg
|
2022-08-21 13:32:41 +00:00
|
|
|
pango
|
2021-05-20 23:08:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome.updateScript {
|
|
|
|
packageName = "gnome-chess";
|
|
|
|
attrPath = "gnome.gnome-chess";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Chess";
|
|
|
|
description = "Play the classic two-player boardgame of chess";
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
license = licenses.gpl3Plus;
|
2022-12-17 10:02:37 +00:00
|
|
|
platforms = platforms.unix;
|
2021-05-20 23:08:51 +00:00
|
|
|
};
|
|
|
|
}
|