gnome.gnome-sudoku: 43.beta → 43.0

https://gitlab.gnome.org/GNOME/gnome-sudoku/-/compare/43.beta...43.0

Format the expression, drop python since it is now using Meson’s post-install function, and correct license.

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
Jan Tojnar 2022-09-17 20:56:36 +00:00
parent 31f1c5c6ae
commit 9d6f64834d

View file

@ -1,22 +1,51 @@
{ lib, stdenv, fetchurl, meson, ninja, vala, pkg-config, gobject-introspection, gettext, gtk3, gnome, wrapGAppsHook
, libgee, json-glib, qqwing, itstool, libxml2, python3, desktop-file-utils }:
{ stdenv
, lib
, fetchurl
, meson
, ninja
, vala
, pkg-config
, gobject-introspection
, gettext
, gtk3
, gnome
, wrapGAppsHook
, libgee
, json-glib
, qqwing
, itstool
, libxml2
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "gnome-sudoku";
version = "43.beta";
version = "43.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "hybZ0Dmtee250tDztEu+Dm+K08ycSylBzHh3t1wCgpU=";
sha256 = "ftJ0KJz1ykELHJKxU3BQpcNi99szmaMrU0PQ3nBGbkk=";
};
nativeBuildInputs = [ meson ninja vala pkg-config gobject-introspection gettext itstool libxml2 python3 desktop-file-utils wrapGAppsHook ];
buildInputs = [ gtk3 libgee json-glib qqwing ];
nativeBuildInputs = [
meson
ninja
vala
pkg-config
gobject-introspection
gettext
itstool
libxml2
desktop-file-utils
wrapGAppsHook
];
postPatch = ''
chmod +x build-aux/post_install.py
patchShebangs build-aux/post_install.py
'';
buildInputs = [
gtk3
libgee
json-glib
qqwing
];
passthru = {
updateScript = gnome.updateScript {
@ -29,7 +58,7 @@ stdenv.mkDerivation rec {
homepage = "https://wiki.gnome.org/Apps/Sudoku";
description = "Test your logic skills in this number grid puzzle";
maintainers = teams.gnome.members;
license = licenses.gpl2;
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
}