gnome.gnome-power-manager: 3.32.0 → 43.0
https://gitlab.gnome.org/GNOME/gnome-power-manager/-/compare/GNOME_POWER_MANAGER_3_32_0...GNOME_POWER_MANAGER_43_0 Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
dd9f466eb0
commit
e39c7a4683
|
@ -1,4 +1,5 @@
|
|||
{ lib, stdenv
|
||||
{ stdenv
|
||||
, lib
|
||||
, gettext
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
|
@ -10,24 +11,16 @@
|
|||
, python3
|
||||
, desktop-file-utils
|
||||
, wrapGAppsHook
|
||||
, gnome }:
|
||||
, gnome
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-power-manager";
|
||||
version = "3.32.0";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
version = "43.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0drfn3wcc8l4n07qwv6p0rw2dwcd00hwzda282q62l6sasks2b2g";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "gnome.${pname}";
|
||||
};
|
||||
url = "mirror://gnome/sources/gnome-power-manager/${lib.versions.major version}/gnome-power-manager-${version}.tar.xz";
|
||||
sha256 = "faq0i73bMOnfKrplDLYNBeZnyfiFrOagoeeVDgy90y8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -39,7 +32,7 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
# needed by meson_post_install.sh
|
||||
python3
|
||||
glib.dev
|
||||
glib
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
|
@ -47,9 +40,15 @@ in stdenv.mkDerivation rec {
|
|||
gtk3
|
||||
glib
|
||||
upower
|
||||
gnome.adwaita-icon-theme
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "gnome-power-manager";
|
||||
attrPath = "gnome.gnome-power-manager";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.gnome.org/GNOME/gnome-power-manager";
|
||||
description = "View battery and power statistics provided by UPower";
|
||||
|
|
Loading…
Reference in a new issue