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

41 lines
1.1 KiB
Nix
Raw Normal View History

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
}:
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";
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";
};
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
];
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";
homepage = "https://wiki.gnome.org/Apps/Quadrapassel";
license = licenses.gpl2;
maintainers = teams.gnome.members;
platforms = platforms.linux;
};
}