2021-05-28 09:39:13 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchurl,
|
|
|
|
pkg-config,
|
|
|
|
gtk3,
|
|
|
|
gnome,
|
|
|
|
gdk-pixbuf,
|
|
|
|
librsvg,
|
|
|
|
gsound,
|
|
|
|
libmanette,
|
|
|
|
gettext,
|
|
|
|
itstool,
|
|
|
|
libxml2,
|
|
|
|
clutter,
|
|
|
|
clutter-gtk,
|
|
|
|
wrapGAppsHook,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
python3,
|
|
|
|
vala,
|
|
|
|
desktop-file-utils,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quadrapassel";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "40.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-28 09:39:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "C9giQUIHxzEj7WpJ9yPaWsjdTfXTXtwJn/6i4TmcwAo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-05-28 09:39:13 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
python3
|
|
|
|
vala
|
|
|
|
desktop-file-utils
|
|
|
|
pkg-config
|
|
|
|
gnome.adwaita-icon-theme
|
|
|
|
libxml2
|
|
|
|
itstool
|
|
|
|
gettext
|
|
|
|
wrapGAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-05-28 09:39:13 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-05-28 09:39:13 +00:00
|
|
|
gtk3
|
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
libmanette
|
|
|
|
gsound
|
|
|
|
clutter
|
|
|
|
libxml2
|
|
|
|
clutter-gtk
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
2021-05-20 23:08:51 +00:00
|
|
|
attrPath = "gnome.${pname}";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Classic falling-block game, Tetris";
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Quadrapassel";
|
2021-05-28 09:39:13 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|