Merge pull request #156978 from rhendric/submit/gnome-2048

gnome-2048: init at 3.38.2
This commit is contained in:
Jan Tojnar 2022-01-28 16:33:44 +01:00 committed by GitHub
commit 17969a9b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 57 additions and 0 deletions

View file

@ -569,6 +569,7 @@ in
atomix atomix
five-or-more five-or-more
four-in-a-row four-in-a-row
pkgs.gnome-2048
gnome-chess gnome-chess
gnome-klotski gnome-klotski
gnome-mahjongg gnome-mahjongg

View file

@ -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;
};
}

View file

@ -5900,6 +5900,8 @@ with pkgs;
gnirehtet = callPackage ../tools/networking/gnirehtet { }; gnirehtet = callPackage ../tools/networking/gnirehtet { };
gnome-2048 = callPackage ../desktops/gnome/games/gnome-2048 { };
gnome-builder = callPackage ../applications/editors/gnome-builder { }; gnome-builder = callPackage ../applications/editors/gnome-builder { };
gnome-feeds = callPackage ../applications/networking/feedreaders/gnome-feeds {}; gnome-feeds = callPackage ../applications/networking/feedreaders/gnome-feeds {};