3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/games/quadrapassel/default.nix

45 lines
1.2 KiB
Nix
Raw Normal View History

2019-05-22 12:03:39 +01:00
{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
2019-03-11 17:51:47 +00:00
, librsvg, libcanberra-gtk3, libmanette
, gettext, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook
, meson, ninja, python3, vala, desktop-file-utils
}:
2018-08-25 23:57:15 +01:00
let
pname = "quadrapassel";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
2019-03-11 17:51:47 +00:00
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/quadrapassel/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2019-03-11 17:51:47 +00:00
sha256 = "1zhi1957knz9dm98drn2dh95mr33sdch590yddh1f8r6bzsfjvpy";
};
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
2018-08-25 23:57:15 +01:00
libcanberra-gtk3 clutter libxml2 clutter-gtk
];
enableParallelBuilding = true;
2018-08-25 23:57:15 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
description = "Classic falling-block game, Tetris";
2018-08-25 23:57:15 +01:00
homepage = https://wiki.gnome.org/Apps/Quadrapassel;
license = licenses.gpl2;
2018-08-25 23:57:15 +01:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}