diff options
author | Ryan Hendrickson <ryan.hendrickson@alum.mit.edu> | 2022-01-27 15:40:02 -0500 |
---|---|---|
committer | Ryan Hendrickson <ryan.hendrickson@alum.mit.edu> | 2022-01-27 15:40:02 -0500 |
commit | 617d557d3bdd0d558d52ed423314ac12ead6e8e3 (patch) | |
tree | 60762ab1369bc57116e6dd1e2719800fce50d6ec /pkgs/desktops/gnome | |
parent | 416d03719c08f8d80224dfbb3eebd067a77db7e2 (diff) |
gnome-2048: init at 3.38.2
Diffstat (limited to 'pkgs/desktops/gnome')
-rw-r--r-- | pkgs/desktops/gnome/games/gnome-2048/default.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/games/gnome-2048/default.nix b/pkgs/desktops/gnome/games/gnome-2048/default.nix new file mode 100644 index 0000000000000..bba3000b7f21e --- /dev/null +++ b/pkgs/desktops/gnome/games/gnome-2048/default.nix @@ -0,0 +1,54 @@ +{ lib +, stdenv +, fetchurl +, wrapGAppsHook +, meson +, vala +, pkg-config +, ninja +, itstool +, clutter-gtk +, libgee +, gnome +, gtk3 +}: + +stdenv.mkDerivation rec { + pname = "gnome-twenty-forty-eight"; + version = "3.38.2"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-2048/${lib.versions.majorMinor version}/gnome-2048-${version}.tar.xz"; + sha256 = "0s5fg4z5in1h39fcr69j1qc5ynmg7a8mfprk3mc3c0csq3snfwz2"; + }; + + nativeBuildInputs = [ + itstool + meson + ninja + pkg-config + vala + wrapGAppsHook + ]; + + buildInputs = [ + clutter-gtk + libgee + gnome.libgnome-games-support + gtk3 + ]; + + passthru = { + updateScript = gnome.updateScript { + packageName = "gnome-2048"; + }; + }; + + meta = with lib; { + homepage = "https://wiki.gnome.org/Apps/2048"; + description = "Obtain the 2048 tile"; + maintainers = teams.gnome.members; + license = licenses.gpl3Plus; + platforms = platforms.linux; + }; +} |