Merge pull request #301466 from picnoir/pic/ppd-21

power-profiles-daemon: 0.20 -> 0.21
This commit is contained in:
Félix 2024-04-09 16:25:30 +02:00 committed by GitHub
commit 5fc51da87a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, lib , lib
, bash-completion
, pkg-config , pkg-config
, meson , meson
, mesonEmulatorHook , mesonEmulatorHook
@ -25,7 +26,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "power-profiles-daemon"; pname = "power-profiles-daemon";
version = "0.20"; version = "0.21";
outputs = [ "out" "devdoc" ]; outputs = [ "out" "devdoc" ];
@ -34,7 +35,7 @@ stdenv.mkDerivation rec {
owner = "upower"; owner = "upower";
repo = "power-profiles-daemon"; repo = "power-profiles-daemon";
rev = version; rev = version;
sha256 = "sha256-8wSRPR/1ELcsZ9K3LvSNlPcJvxRhb/LRjTIxKtdQlCA="; sha256 = "sha256-5JbMbz38SeNEkVKFjJLxeUHiOrx+QCaK/vXgRPbzwzY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -53,12 +54,15 @@ stdenv.mkDerivation rec {
pygobject3 pygobject3
dbus-python dbus-python
python-dbusmock python-dbusmock
argparse-manpage
shtab
])) ]))
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook mesonEmulatorHook
]; ];
buildInputs = [ buildInputs = [
bash-completion
libgudev libgudev
systemd systemd
upower upower
@ -84,6 +88,8 @@ stdenv.mkDerivation rec {
mesonFlags = [ mesonFlags = [
"-Dsystemdsystemunitdir=${placeholder "out"}/lib/systemd/system" "-Dsystemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
"-Dgtk_doc=true" "-Dgtk_doc=true"
"-Dpylint=disabled"
"-Dzshcomp=${placeholder "out"}/share/zsh/site-functions"
"-Dtests=${lib.boolToString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)}" "-Dtests=${lib.boolToString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)}"
]; ];
@ -112,6 +118,6 @@ stdenv.mkDerivation rec {
mainProgram = "powerprofilesctl"; mainProgram = "powerprofilesctl";
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ mvnetbiz ]; maintainers = with maintainers; [ mvnetbiz picnoir ];
}; };
} }