2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf
|
2018-02-25 03:23:58 +01:00
|
|
|
, librsvg, libcanberra-gtk3
|
|
|
|
, intltool, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-08-26 00:57:15 +02:00
|
|
|
let
|
|
|
|
pname = "quadrapassel";
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2018-02-25 21:07:20 +01:00
|
|
|
version = "3.22.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-10-05 02:12:11 +02:00
|
|
|
url = "mirror://gnome/sources/quadrapassel/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-02-25 21:07:20 +01:00
|
|
|
sha256 = "0ed44ef73c8811cbdfc3b44c8fd80eb6e2998d102d59ac324e4748f5d9dddb55";
|
|
|
|
};
|
|
|
|
|
2018-08-26 00:57:15 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook ];
|
|
|
|
buildInputs = [
|
|
|
|
gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
|
|
|
|
libcanberra-gtk3 clutter libxml2 clutter-gtk
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-08-26 00:57:15 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Classic falling-block game, Tetris";
|
2018-08-26 00:57:15 +02:00
|
|
|
homepage = https://wiki.gnome.org/Apps/Quadrapassel;
|
2016-09-18 21:35:23 +02:00
|
|
|
license = licenses.gpl2;
|
2018-08-26 00:57:15 +02:00
|
|
|
maintainers = gnome3.maintainers;
|
2016-09-18 21:35:23 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|