depot/third_party/nixpkgs/pkgs/by-name/gn/gnome-sudoku/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

65 lines
1.1 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.4";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/gnome-sudoku-${version}.tar.xz";
hash = "sha256-SmsMRQbolRIlOxyZO3P2QOjv2awfHrUqAkgZCHYjpKI=";
};
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"; };
};
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;
};
}