gnome3.lightsoff: 3.28.0 → 3.30.0

This commit is contained in:
Jan Tojnar 2018-09-05 00:51:09 +00:00
parent f78203de37
commit 70f1b62368
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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 {