nixpkgs/pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix

36 lines
1.2 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, meson, ninja, vala, pkgconfig, gobject-introspection, gettext, gtk3, gnome3, wrapGAppsHook
2019-02-13 21:47:50 +00:00
, libgee, json-glib, qqwing, itstool, libxml2, python3, desktop-file-utils }:
stdenv.mkDerivation rec {
pname = "gnome-sudoku";
2019-10-14 21:23:54 +00:00
version = "3.34.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2019-10-14 21:23:54 +00:00
sha256 = "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b";
};
nativeBuildInputs = [ meson ninja vala pkgconfig gobject-introspection gettext itstool libxml2 python3 desktop-file-utils wrapGAppsHook ];
2019-02-13 21:47:50 +00:00
buildInputs = [ gtk3 libgee json-glib qqwing ];
2018-09-05 00:48:25 +00:00
postPatch = ''
2019-03-11 17:38:45 +00:00
chmod +x build-aux/post_install.py
patchShebangs build-aux/post_install.py
2018-09-05 00:48:25 +00:00
'';
passthru = {
2018-09-05 00:48:25 +00:00
updateScript = gnome3.updateScript {
packageName = "gnome-sudoku";
attrPath = "gnome3.gnome-sudoku";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Sudoku;
description = "Test your logic skills in this number grid puzzle";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}