{ stdenv, fetchgit, makeWrapper, bc }: stdenv.mkDerivation { name = "pulseaudio-ctl"; src = fetchgit { url = "https://github.com/graysky2/pulseaudio-ctl"; rev = "7650068abe5c1ccbb3003879f6cbd1a322ce5e66"; sha256 = "020zq5l7527rp16qb7z82c2v5jf1rg2d6vk5drr0n7y8wq2f6prm"; }; makeFlags = ["PREFIX=$(out)"]; buildInputs = [ makeWrapper ]; postInstall = '' wrapProgram $out/bin/pulseaudio-ctl \ --prefix PATH : ${bc}/bin ''; }