diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix b/nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix new file mode 100644 index 000000000000..cf936f835ec0 --- /dev/null +++ b/nixpkgs/pkgs/desktops/gnome/games/gnome-sudoku/default.nix @@ -0,0 +1,66 @@ +{ 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 = "45.4"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-sudoku/${lib.versions.major version}/${pname}-${version}.tar.xz"; + sha256 = "edNZV6oWj0pWPmAW+5dQs1hlJgEkEVg4CkxLebdAAZ0="; + }; + + 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://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; + }; +} |