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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.1 KiB
Nix
Raw Normal View History

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