gnome-power-manager: 43.0 → 50.0
https://gitlab.gnome.org/GNOME/gnome-power-manager/-/compare/GNOME_POWER_MANAGER_43_0...50.0
This commit is contained in:
@@ -4,31 +4,31 @@
|
||||
gettext,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
gtk3,
|
||||
gtk4,
|
||||
glib,
|
||||
meson,
|
||||
ninja,
|
||||
upower,
|
||||
python3,
|
||||
desktop-file-utils,
|
||||
wrapGAppsHook3,
|
||||
wrapGAppsHook4,
|
||||
gnome,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "gnome-power-manager";
|
||||
version = "43.0";
|
||||
version = "50.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-power-manager/${lib.versions.major finalAttrs.version}/gnome-power-manager-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-faq0i73bMOnfKrplDLYNBeZnyfiFrOagoeeVDgy90y8=";
|
||||
hash = "sha256-vyQ9Y4n4v6cclYU07SZpspllxH9Vw8vkmDspbQ+Z5dc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
wrapGAppsHook4
|
||||
gettext
|
||||
|
||||
# needed by meson_post_install.sh
|
||||
@@ -38,11 +38,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gtk4
|
||||
glib
|
||||
upower
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace meson_post_install.sh \
|
||||
--replace-fail "gtk-update-icon-cache" "gtk4-update-icon-cache"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript { packageName = "gnome-power-manager"; };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user