depot/third_party/nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

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 = "44.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "ZRjZIzpG1+E4Bax4dme6RwGUjZ7UGke4h5f826Q7j7o=";
};
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.unix;
};
}