2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gtk3, gnome, gdk-pixbuf
|
2020-04-24 23:36:52 +00:00
|
|
|
, librsvg, gsound, libmanette
|
|
|
|
, gettext, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook
|
|
|
|
, meson, ninja, python3, vala, desktop-file-utils
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quadrapassel";
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "3.38.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "033plabc6q3sk6qjr5nml8z6p07vcw57gxddxjk9b65wgg0rzzhr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja python3 vala desktop-file-utils
|
2021-05-20 23:08:51 +00:00
|
|
|
pkg-config gnome.adwaita-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 gdk-pixbuf librsvg libmanette
|
|
|
|
gsound clutter libxml2 clutter-gtk
|
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|