sway-audio-idle-inhibit: 0.1.2 -> 0.2.0

- Uses systemd/elogind Inhibit instead of wayland protocol
  - Remove wayland dependencies, add systemd dependency
  - Fixes issues with hidden surfaces not preventing idle
This commit is contained in:
kronberger-droid 2025-08-09 17:19:22 +02:00
parent 9ef1dea6e0
commit 248ad4fd84

View File

@ -6,32 +6,28 @@
ninja,
pkg-config,
libpulseaudio,
wayland,
wayland-protocols,
wayland-scanner,
systemd,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sway-audio-idle-inhibit";
version = "0.1.2";
version = "0.2.0";
src = fetchFromGitHub {
owner = "ErikReider";
repo = "SwayAudioIdleInhibit";
rev = "v${finalAttrs.version}";
hash = "sha256-6bdIkNosp/mzH5SiyK6Mox/z8kuFk5RLMmcFZ2VIi0g=";
hash = "sha256-AIK/2CPXWie72quzCcofZMQ7OVsggNm2Cq9PBJXKyhw=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
libpulseaudio
wayland
wayland-protocols
systemd
];
meta = with lib; {