gnome3.quadrapassel: clean up

This commit is contained in:
Jan Tojnar 2018-08-26 00:57:15 +02:00
parent 9fcffb5bd4
commit 9364a931e9
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -2,8 +2,10 @@
, librsvg, libcanberra-gtk3 , librsvg, libcanberra-gtk3
, intltool, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook }: , intltool, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook }:
stdenv.mkDerivation rec { let
name = "quadrapassel-${version}"; pname = "quadrapassel";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.22.0"; version = "3.22.0";
src = fetchurl { src = fetchurl {
@ -11,22 +13,26 @@ stdenv.mkDerivation rec {
sha256 = "0ed44ef73c8811cbdfc3b44c8fd80eb6e2998d102d59ac324e4748f5d9dddb55"; sha256 = "0ed44ef73c8811cbdfc3b44c8fd80eb6e2998d102d59ac324e4748f5d9dddb55";
}; };
passthru = { nativeBuildInputs = [ pkgconfig itstool intltool wrapGAppsHook ];
updateScript = gnome3.updateScript { packageName = "quadrapassel"; attrPath = "gnome3.quadrapassel"; }; buildInputs = [
}; gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
libcanberra-gtk3 clutter libxml2 clutter-gtk
nativeBuildInputs = [ pkgconfig ]; ];
buildInputs = [ gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg
libcanberra-gtk3 itstool intltool clutter
libxml2 clutter-gtk wrapGAppsHook ];
enableParallelBuilding = true; enableParallelBuilding = true;
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Quadrapassel;
description = "Classic falling-block game, Tetris"; description = "Classic falling-block game, Tetris";
maintainers = gnome3.maintainers; homepage = https://wiki.gnome.org/Apps/Quadrapassel;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = gnome3.maintainers;
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }