Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 27 additions & 25 deletions pkgs/applications/audio/pavucontrol/default.nix
Original file line number Diff line number Diff line change
@@ -1,53 +1,55 @@
{ fetchurl
, fetchpatch
, lib
{ lib
, stdenv
, pkg-config
, fetchFromGitLab
, autoreconfHook
, intltool
, libpulseaudio
, pkg-config
, wrapGAppsHook
, gnome
, gtkmm3
, libsigcxx
, libcanberra-gtk3
, json-glib
, gnome
, wrapGAppsHook
, libcanberra-gtk3
, libpulseaudio
, libsigcxx
}:

stdenv.mkDerivation rec {
pname = "pavucontrol";
version = "5.0";

src = fetchurl {
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-zityw7XxpwrQ3xndgXUPlFW9IIcNHTo20gU2ry6PTno=";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pulseaudio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0HfwqU58OsWOdbNKENQoFiW3nf9LEJog/wGiqMUvYCU=";
};

nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
wrapGAppsHook
];

buildInputs = [
libpulseaudio
gnome.adwaita-icon-theme
gtkmm3
libsigcxx
libcanberra-gtk3
json-glib
gnome.adwaita-icon-theme
libcanberra-gtk3
libpulseaudio
libsigcxx
];

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/";

license = lib.licenses.gpl2Plus;

license = licenses.gpl2Plus;
maintainers = with maintainers; [ abbradar globin ];
platforms = platforms.linux;
};
Expand Down