Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / sw / sway-audio-idle-inhibit / package.nix
blobae41f6a2368417c05c138e01958d224ea989198b
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , meson
5 , ninja
6 , pkg-config
7 , libpulseaudio
8 , wayland
9 , wayland-protocols
11 stdenv.mkDerivation {
12   pname = "sway-audio-idle-inhibit";
13   version = "unstable-2023-08-09";
15   src = fetchFromGitHub {
16     owner = "ErikReider";
17     repo = "SwayAudioIdleInhibit";
18     rev = "c850bc4812216d03e05083c69aa05326a7fab9c7";
19     sha256 = "sha256-MKzyF5xY0uJ/UWewr8VFrK0y7ekvcWpMv/u9CHG14gs=";
20   };
22   nativeBuildInputs = [
23     meson ninja pkg-config
24   ];
26   buildInputs = [
27     libpulseaudio wayland wayland-protocols
28   ];
30   meta = with lib; {
31     description = "Prevents swayidle from sleeping while any application is outputting or receiving audio";
32     homepage = "https://github.com/ErikReider/SwayAudioIdleInhibit";
33     license = licenses.gpl3Only;
34     platforms = platforms.linux;
35     maintainers = with maintainers; [ rafaelrc ];
36     mainProgram = "sway-audio-idle-inhibit";
37   };