mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-17 03:03:19 +02:00
gnome3.lightsoff: 3.28.0 → 3.30.0
This commit is contained in:
parent
f78203de37
commit
70f1b62368
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue