nixpkgs/pkgs/desktops/gnome/games/gnome-chess/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.2 KiB
Nix
Raw Normal View History

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
}:
stdenv.mkDerivation rec {
pname = "gnome-chess";
version = "46.0";
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";
hash = "sha256-oryQ4KdUMSxXibkZi0knMDd1tiWDqOlnbSxqlztG/ec=";
};
2021-03-21 06:36:31 +00:00
nativeBuildInputs = [
meson
ninja
vala
pkg-config
gettext
itstool
libxml2
desktop-file-utils
2021-03-21 06:36:31 +00:00
wrapGAppsHook4
gobject-introspection
];
buildInputs = [
glib
gtk4
libadwaita
2021-03-21 06:36:31 +00:00
librsvg
pango
2021-03-21 06:36:31 +00:00
];
2018-03-14 01:02:59 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-03-14 01:02:59 +00:00
packageName = "gnome-chess";
attrPath = "gnome.gnome-chess";
2018-03-14 01:02:59 +00:00
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-chess";
description = "Play the classic two-player boardgame of chess";
mainProgram = "gnome-chess";
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;
};
}