2022-10-21 18:38:19 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, vala
|
|
|
|
, pkg-config
|
|
|
|
, gobject-introspection
|
|
|
|
, gettext
|
|
|
|
, gtk3
|
|
|
|
, gnome
|
|
|
|
, wrapGAppsHook
|
|
|
|
, libgee
|
|
|
|
, json-glib
|
|
|
|
, qqwing
|
|
|
|
, itstool
|
|
|
|
, libxml2
|
|
|
|
, desktop-file-utils
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-sudoku";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "43.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-20 23:08:51 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "ftJ0KJz1ykELHJKxU3BQpcNi99szmaMrU0PQ3nBGbkk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
vala
|
|
|
|
pkg-config
|
|
|
|
gobject-introspection
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxml2
|
|
|
|
desktop-file-utils
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
libgee
|
|
|
|
json-glib
|
|
|
|
qqwing
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = "gnome-sudoku";
|
2021-05-20 23:08:51 +00:00
|
|
|
attrPath = "gnome.gnome-sudoku";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Sudoku";
|
|
|
|
description = "Test your logic skills in this number grid puzzle";
|
|
|
|
maintainers = teams.gnome.members;
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|