aboutsummaryrefslogtreecommitdiff
path: root/pkgs/desktops/gnome-3/games/lightsoff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-09-05 00:51:09 +0000
committerJan Tojnar <jtojnar@gmail.com>2018-11-30 21:34:29 +0100
commit70f1b62368a05f59800f18ccad04c812a9a40ba3 (patch)
treee111cd08b1369032a9f043fb956aa70aaf83c430 /pkgs/desktops/gnome-3/games/lightsoff
parentf78203de37b3f6bab1e534c5e4484e837057a6f6 (diff)
gnome3.lightsoff: 3.28.0 → 3.30.0
Diffstat (limited to 'pkgs/desktops/gnome-3/games/lightsoff')
-rw-r--r--pkgs/desktops/gnome-3/games/lightsoff/default.nix20
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/desktops/gnome-3/games/lightsoff/default.nix b/pkgs/desktops/gnome-3/games/lightsoff/default.nix
index dcffe7cea7f4..ccd90c071fee 100644
--- a/pkgs/desktops/gnome-3/games/lightsoff/default.nix
+++ b/pkgs/desktops/gnome-3/games/lightsoff/default.nix
@@ -1,19 +1,27 @@
{ stdenv, fetchurl, vala, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
-, gettext, itstool, clutter, clutter-gtk, libxml2, appstream-glib }:
+, gettext, itstool, clutter, clutter-gtk, libxml2, appstream-glib
+, meson, ninja, python3 }:
stdenv.mkDerivation rec {
name = "lightsoff-${version}";
- version = "3.28.0";
+ version = "3.30.0";
src = fetchurl {
url = "mirror://gnome/sources/lightsoff/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0rwh9kz6aphglp79cyrfjab6vy02vclq68f646zjgb9xgg6ar73g";
+ sha256 = "1cv5pkw0n8k5wb98ihx0z1z615w1wc09y884wk608wy40bgq46wp";
};
- nativeBuildInputs = [ vala pkgconfig wrapGAppsHook itstool gettext appstream-glib libxml2];
- buildInputs = [ gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg clutter clutter-gtk ];
+ postPatch = ''
+ chmod +x meson_post_install.py # patchShebangs requires executable file
+ patchShebangs meson_post_install.py
+ sed -i '/gtk-update-icon-cache/s/^/#/' meson_post_install.py
+ '';
- enableParallelBuilding = true;
+ nativeBuildInputs = [
+ vala pkgconfig wrapGAppsHook itstool gettext appstream-glib libxml2
+ meson ninja python3
+ ];
+ buildInputs = [ gtk3 gnome3.defaultIconTheme gdk_pixbuf librsvg clutter clutter-gtk ];
passthru = {
updateScript = gnome3.updateScript {