nixpkgs-suyu/pkgs/desktops/gnome-3/games/quadrapassel/default.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf
, librsvg, libcanberra-gtk3
, intltool, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook }:
2018-08-26 00:57:15 +02:00
let
pname = "quadrapassel";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.22.0";
src = fetchurl {
url = "mirror://gnome/sources/quadrapassel/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
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
];
enableParallelBuilding = true;
2018-08-26 00:57:15 +02:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
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;
license = licenses.gpl2;
2018-08-26 00:57:15 +02:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}