13 stdenv.mkDerivation (finalAttrs: {
14 pname = "polybar-pulseaudio-control";
17 src = fetchFromGitHub {
18 owner = "marioortizmanero";
19 repo = "polybar-pulseaudio-control";
20 rev = "v${finalAttrs.version}";
21 hash = "sha256-egCBCnhnmHHKFeDkpaF9Upv/oZ0K3XGyutnp4slq9Vc=";
26 nativeBuildInputs = [ makeWrapper ];
31 install -Dm755 pulseaudio-control.bash $out/bin/pulseaudio-control
32 wrapProgram "$out/bin/pulseaudio-control" \
33 --prefix PATH : "${lib.makeBinPath [ bash coreutils gnused gnugrep gawk pulseaudio ]}"
39 mainProgram = "pulseaudio-control";
40 description = "Polybar module to control PulseAudio devices, also known as Pavolume";
41 homepage = "https://github.com/marioortizmanero/polybar-pulseaudio-control";
42 platforms = platforms.linux;
43 license = licenses.mit;
44 maintainers = with maintainers; [ benlemasurier wesleyjrz ];