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