nixpkgs/pkgs/applications/audio/pavucontrol/default.nix

55 lines
1.1 KiB
Nix
Raw Normal View History

2021-10-19 14:42:00 +00:00
{ fetchurl
, fetchpatch
, lib
, stdenv
, pkg-config
, intltool
, libpulseaudio
, gtkmm3
, libsigcxx
, libcanberra-gtk3
, json-glib
, gnome
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
2019-03-09 07:21:06 +00:00
pname = "pavucontrol";
2021-10-19 14:42:00 +00:00
version = "5.0";
src = fetchurl {
2019-03-09 07:21:06 +00:00
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
2021-10-19 14:42:00 +00:00
sha256 = "sha256-zityw7XxpwrQ3xndgXUPlFW9IIcNHTo20gU2ry6PTno=";
};
2021-10-19 14:42:00 +00:00
buildInputs = [
libpulseaudio
gtkmm3
libsigcxx
libcanberra-gtk3
json-glib
gnome.adwaita-icon-theme
];
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];
configureFlags = [ "--disable-lynx" ];
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/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
maintainers = with maintainers; [ abbradar globin ];
platforms = platforms.linux;
};
}