f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
56 lines
1.2 KiB
Nix
56 lines
1.2 KiB
Nix
{ fetchurl
|
|
, lib
|
|
, stdenv
|
|
, pkg-config
|
|
, intltool
|
|
, libpulseaudio
|
|
, gtkmm3
|
|
, libsigcxx
|
|
, libcanberra-gtk3
|
|
, json-glib
|
|
, adwaita-icon-theme
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pavucontrol";
|
|
version = "5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-zityw7XxpwrQ3xndgXUPlFW9IIcNHTo20gU2ry6PTno=";
|
|
};
|
|
|
|
buildInputs = [
|
|
libpulseaudio
|
|
gtkmm3
|
|
libsigcxx
|
|
libcanberra-gtk3
|
|
json-glib
|
|
adwaita-icon-theme
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook3 ];
|
|
|
|
configureFlags = [ "--disable-lynx" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "PulseAudio Volume Control";
|
|
|
|
longDescription = ''
|
|
PulseAudio Volume Control (pavucontrol) provides a GTK
|
|
graphical user interface to connect to a PulseAudio server and
|
|
easily control the volume of all clients, sinks, etc.
|
|
'';
|
|
|
|
homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/";
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "pavucontrol";
|
|
};
|
|
}
|