2019-05-22 12:03:39 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
|
2019-09-02 17:45:55 +01:00
|
|
|
, librsvg, gsound, libmanette
|
2019-03-11 17:51:47 +00:00
|
|
|
, gettext, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook
|
|
|
|
, meson, ninja, python3, vala, desktop-file-utils
|
|
|
|
}:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2019-09-02 17:45:55 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-08-25 23:57:15 +01:00
|
|
|
pname = "quadrapassel";
|
2020-08-14 12:22:37 +01:00
|
|
|
version = "3.36.05";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-14 12:22:37 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "04abxmimh5npw8rhz1sfi6wxilgc6i1wka9mlnfwp8v1p1cb00cv";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2019-03-11 17:51:47 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja python3 vala desktop-file-utils
|
|
|
|
pkgconfig gnome3.adwaita-icon-theme
|
|
|
|
libxml2 itstool gettext wrapGAppsHook
|
|
|
|
];
|
2018-08-25 23:57:15 +01:00
|
|
|
buildInputs = [
|
2019-05-22 12:03:39 +01:00
|
|
|
gtk3 gdk-pixbuf librsvg libmanette
|
2019-09-02 17:45:55 +01:00
|
|
|
gsound clutter libxml2 clutter-gtk
|
2018-08-25 23:57:15 +01:00
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-08-25 23:57:15 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Classic falling-block game, Tetris";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/Quadrapassel";
|
2016-09-18 20:35:23 +01:00
|
|
|
license = licenses.gpl2;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2016-09-18 20:35:23 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|