d5269b522a
https://gitlab.gnome.org/GNOME/gnome-sudoku/-/compare/45.1...45.2 Changelog-reviewed-by: Bobby Rong <rjl931189261@126.com> Changelog-reviewed-by: Jan Tojnar <jtojnar@gmail.com>
66 lines
1.1 KiB
Nix
66 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, pkg-config
|
|
, gobject-introspection
|
|
, gettext
|
|
, gtk4
|
|
, gnome
|
|
, wrapGAppsHook4
|
|
, libadwaita
|
|
, libgee
|
|
, json-glib
|
|
, qqwing
|
|
, itstool
|
|
, libxml2
|
|
, desktop-file-utils
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-sudoku";
|
|
version = "45.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "Ves0R5euw9ifer/L57djAn9cDipaIuaPvzLH6UOdlfI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
gobject-introspection
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
desktop-file-utils
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk4
|
|
libadwaita
|
|
libgee
|
|
json-glib
|
|
qqwing
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = "gnome-sudoku";
|
|
attrPath = "gnome.gnome-sudoku";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Apps/Sudoku";
|
|
description = "Test your logic skills in this number grid puzzle";
|
|
maintainers = teams.gnome.members;
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|