c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
64 lines
1.1 KiB
Nix
64 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchurl
|
|
, meson
|
|
, ninja
|
|
, vala
|
|
, pkg-config
|
|
, gobject-introspection
|
|
, gettext
|
|
, gtk3
|
|
, gnome
|
|
, wrapGAppsHook
|
|
, libgee
|
|
, json-glib
|
|
, qqwing
|
|
, itstool
|
|
, libxml2
|
|
, desktop-file-utils
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-sudoku";
|
|
version = "43.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
sha256 = "ftJ0KJz1ykELHJKxU3BQpcNi99szmaMrU0PQ3nBGbkk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
vala
|
|
pkg-config
|
|
gobject-introspection
|
|
gettext
|
|
itstool
|
|
libxml2
|
|
desktop-file-utils
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
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.linux;
|
|
};
|
|
}
|