{ pkgs ? import {} }: pkgs.stdenv.mkDerivation rec { pname = "pavolctld"; version = "1.0.0"; src = pkgs.fetchzip { url = "https://git.tjkeller.xyz/${pname}/snapshot/${pname}-${version}.tar.xz"; sha256 = "sha256-eJ5njP2wu2kxsNgDdULOaATJJarLh+LkM5M9+kujRt4="; }; buildInputs = [ pkgs.libpulseaudio ]; buildPhase = '' make ''; installPhase = '' mkdir -p $out/bin $out/share/man/man1 cp pavolctld $out/bin/ cp pavolctld.1 $out/share/man/man1/ ''; meta = with pkgs.lib; { description = "A minimal PulseAudio volume control/monitoring daemon"; license = licenses.mit; maintainers = [ maintainers.tjkeller ]; }; }