nixpkgs/pkgs/by-name/gn/gnome-chess/package.nix

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

66 lines
1.1 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 = "47.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-OkQ6LHiA5q0TG3Wt2AdO2+WYK3aruEKQT+PfnCxQ6H4=";
};
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 { packageName = "gnome-chess"; };
};
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;
};
}