11 stdenv.mkDerivation (finalAttrs: {
12 pname = "polybar-pulseaudio-control";
15 src = fetchFromGitHub {
16 owner = "marioortizmanero";
17 repo = "polybar-pulseaudio-control";
18 rev = "v${finalAttrs.version}";
19 hash = "sha256-egCBCnhnmHHKFeDkpaF9Upv/oZ0K3XGyutnp4slq9Vc=";
24 nativeBuildInputs = [ makeWrapper ];
29 install -Dm755 pulseaudio-control.bash $out/bin/pulseaudio-control
30 wrapProgram "$out/bin/pulseaudio-control" \
31 --prefix PATH : "${lib.makeBinPath [ bash coreutils gawk pulseaudio ]}"
37 mainProgram = "pulseaudio-control";
38 description = "Polybar module to control PulseAudio devices, also known as Pavolume";
39 homepage = "https://github.com/marioortizmanero/polybar-pulseaudio-control";
40 platforms = platforms.linux;
41 license = licenses.mit;
42 maintainers = with maintainers; [ benlemasurier ];