gnome3.gnome-chess: 3.38.1 → 40.1

This commit is contained in:
Jan Tojnar 2021-03-21 07:36:31 +01:00
parent 91f4f8cf3b
commit 33a5ba4f5c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,17 +1,50 @@
{ lib, stdenv, fetchurl, meson, ninja, vala, pkg-config, wrapGAppsHook, gobject-introspection { lib
, gettext, itstool, libxml2, python3, gnome3, glib, gtk3, librsvg }: , stdenv
, fetchurl
, meson
, ninja
, vala
, pkg-config
, wrapGAppsHook4
, gobject-introspection
, gettext
, itstool
, libxml2
, python3
, gnome3
, glib
, gtk4
, librsvg
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-chess"; pname = "gnome-chess";
version = "3.38.1"; version = "40.1";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/gnome-chess/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/gnome-chess/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "1bpmi5p5vvjdq2rlm5x9k4gpci8jbrjvdxr1q62h5znzq0vz0w0l"; sha256 = "132nc96z0bryyi9d5gljsbwsa71rl8wm5w57jbhpwiv4fyjhgybk";
}; };
nativeBuildInputs = [ meson ninja vala pkg-config gettext itstool libxml2 python3 wrapGAppsHook gobject-introspection ]; nativeBuildInputs = [
buildInputs = [ glib gtk3 librsvg gnome3.adwaita-icon-theme ]; meson
ninja
vala
pkg-config
gettext
itstool
libxml2
python3
wrapGAppsHook4
gobject-introspection
];
buildInputs = [
glib
gtk4
librsvg
gnome3.adwaita-icon-theme
];
postPatch = '' postPatch = ''
chmod +x meson_post_install.py chmod +x meson_post_install.py
@ -29,7 +62,7 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Apps/Chess"; homepage = "https://wiki.gnome.org/Apps/Chess";
description = "Play the classic two-player boardgame of chess"; description = "Play the classic two-player boardgame of chess";
maintainers = teams.gnome.members; maintainers = teams.gnome.members;
license = licenses.gpl2; license = licenses.gpl3Plus;
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }