2021-01-17 03:21:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja, vala, pkg-config, gobject-introspection, gettext, gtk3, gnome3, wrapGAppsHook
|
2019-02-13 22:47:50 +01:00
|
|
|
, libgee, json-glib, qqwing, itstool, libxml2, python3, desktop-file-utils }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "gnome-sudoku";
|
2020-08-25 09:31:37 +02:00
|
|
|
version = "3.38.0";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 14:21:58 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-08-25 09:31:37 +02:00
|
|
|
sha256 = "0cpxx63liczmax6ry06r5k0f221xpg2rqh49vkdj2snmqq61swrq";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:21:50 +01:00
|
|
|
nativeBuildInputs = [ meson ninja vala pkg-config gobject-introspection gettext itstool libxml2 python3 desktop-file-utils wrapGAppsHook ];
|
2019-02-13 22:47:50 +01:00
|
|
|
buildInputs = [ gtk3 libgee json-glib qqwing ];
|
2018-09-05 02:48:25 +02:00
|
|
|
|
|
|
|
postPatch = ''
|
2019-03-11 18:38:45 +01:00
|
|
|
chmod +x build-aux/post_install.py
|
|
|
|
patchShebangs build-aux/post_install.py
|
2018-09-05 02:48:25 +02:00
|
|
|
'';
|
|
|
|
|
2018-02-25 21:07:20 +01:00
|
|
|
passthru = {
|
2018-09-05 02:48:25 +02:00
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "gnome-sudoku";
|
|
|
|
attrPath = "gnome3.gnome-sudoku";
|
|
|
|
};
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Sudoku";
|
2016-09-18 21:35:23 +02:00
|
|
|
description = "Test your logic skills in this number grid puzzle";
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|