Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.2 KiB
Nix
71 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
replaceVars,
|
|
nix-update-script,
|
|
gnome-power-manager,
|
|
pkg-config,
|
|
meson,
|
|
ninja,
|
|
vala,
|
|
elementary-settings-daemon,
|
|
gettext,
|
|
gtk3,
|
|
granite,
|
|
libgtop,
|
|
libnotify,
|
|
udev,
|
|
wingpanel,
|
|
libgee,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wingpanel-indicator-power";
|
|
version = "8.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "wingpanel-indicator-power";
|
|
rev = version;
|
|
sha256 = "sha256-AeeL/OcQ7V3HT3IWhTQHx/dcCSqL/0s/fShPq96V3xE=";
|
|
};
|
|
|
|
patches = [
|
|
(replaceVars ./fix-paths.patch {
|
|
gnome_power_manager = gnome-power-manager;
|
|
})
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
gettext # msgfmt
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
];
|
|
|
|
buildInputs = [
|
|
elementary-settings-daemon
|
|
granite
|
|
gtk3
|
|
libgee
|
|
libgtop
|
|
libnotify
|
|
udev
|
|
wingpanel
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Power Indicator for Wingpanel";
|
|
homepage = "https://github.com/elementary/wingpanel-indicator-power";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.linux;
|
|
teams = [ teams.pantheon ];
|
|
};
|
|
}
|