depot/third_party/nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

67 lines
1.2 KiB
Nix

{ stdenv
, lib
, fetchurl
, meson
, ninja
, vala
, pkg-config
, gobject-introspection
, gettext
, gtk4
, gnome
, wrapGAppsHook4
, libadwaita
, libgee
, json-glib
, qqwing
, itstool
, libxml2
, desktop-file-utils
}:
stdenv.mkDerivation rec {
pname = "gnome-sudoku";
version = "46.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-ObtDHxCjH1Vq9im2aFyG1Qyknymhuv6GIZwgwVUQcKY=";
};
nativeBuildInputs = [
meson
ninja
vala
pkg-config
gobject-introspection
gettext
itstool
libxml2
desktop-file-utils
wrapGAppsHook4
];
buildInputs = [
gtk4
libadwaita
libgee
json-glib
qqwing
];
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-sudoku";
attrPath = "gnome.gnome-sudoku";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/gnome-sudoku";
description = "Test your logic skills in this number grid puzzle";
mainProgram = "gnome-sudoku";
maintainers = teams.gnome.members;
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
}