mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
gnome3.lightsoff: 3.30.0 -> 3.32.0
This commit is contained in:
parent
4ffd950f1d
commit
216ac5f958
1 changed files with 7 additions and 8 deletions
|
@ -4,25 +4,24 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lightsoff-${version}";
|
||||
version = "3.30.0";
|
||||
version = "3.32.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/lightsoff/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1cv5pkw0n8k5wb98ihx0z1z615w1wc09y884wk608wy40bgq46wp";
|
||||
sha256 = "0vc3ibjs9ynnm0gxlhhin7jpnsx22vnn4ygaybxwmv9w2q49cs9f";
|
||||
};
|
||||
|
||||
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
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
vala pkgconfig wrapGAppsHook itstool gettext appstream-glib libxml2
|
||||
meson ninja python3
|
||||
];
|
||||
buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk_pixbuf librsvg clutter clutter-gtk ];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x build-aux/meson_post_install.py
|
||||
patchShebangs build-aux/meson_post_install.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = "lightsoff";
|
||||
|
|
Loading…
Reference in a new issue