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.

67 lines
1.1 KiB
Nix
Raw Normal View History

2021-03-21 06:36:31 +00:00
{ lib
, stdenv
, fetchurl
, meson
, ninja
, vala
, pkg-config
, desktop-file-utils
2021-03-21 06:36:31 +00:00
, wrapGAppsHook4
, gobject-introspection
, gettext
, itstool
, libxml2
, gnome
2021-03-21 06:36:31 +00:00
, glib
, gtk4
, libadwaita
2021-03-21 06:36:31 +00:00
, librsvg
, pango
2021-03-21 06:36:31 +00:00
}:
stdenv.mkDerivation rec {
pname = "gnome-chess";
version = "43.2";
src = fetchurl {
2021-03-21 06:36:31 +00:00
url = "mirror://gnome/sources/gnome-chess/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "NIUI+PbnRRwHNE/6egmpkM8dKIO8z1M0CdvgKSaNSfI=";
};
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://wiki.gnome.org/Apps/Chess";
description = "Play the classic two-player boardgame of 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;
};
}