···
11
-
, adwaita-icon-theme
10
+
# Since version 6.0, libcanberra is optional
11
+
withLibcanberra ? true,
15
-
stdenv.mkDerivation rec {
21
+
stdenv.mkDerivation (finalAttrs: {
20
-
url = "https://freedesktop.org/software/pulseaudio/${pname}/${pname}-${version}.tar.xz";
21
-
sha256 = "sha256-zityw7XxpwrQ3xndgXUPlFW9IIcNHTo20gU2ry6PTno=";
25
+
src = fetchFromGitLab {
26
+
domain = "gitlab.freedesktop.org";
27
+
owner = "pulseaudio";
28
+
repo = "pavucontrol";
29
+
rev = "refs/tags/v${finalAttrs.version}";
30
+
hash = "sha256-nxzFvD/KUevIJOw9jgcr0Hfvg7KiSOmTBfKN3jLu3Cg=";
37
+
(lib.optionals withLibcanberra libcanberra-gtk3)
33
-
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook3 ];
43
+
nativeBuildInputs = [
35
-
configureFlags = [ "--disable-lynx" ];
52
+
"--prefix=${placeholder "out"}"
53
+
(lib.mesonBool "lynx" false)
enableParallelBuilding = true;
59
+
changelog = "https://freedesktop.org/software/pulseaudio/pavucontrol/#news";
description = "PulseAudio Volume Control";
61
+
homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/";
62
+
license = lib.licenses.gpl2Plus;
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.
48
-
homepage = "http://freedesktop.org/software/pulseaudio/pavucontrol/";
50
-
license = lib.licenses.gpl2Plus;
52
-
maintainers = with maintainers; [ abbradar ];
53
-
platforms = platforms.linux;
mainProgram = "pavucontrol";
69
+
maintainers = with lib.maintainers; [ abbradar ];
70
+
platforms = lib.platforms.linux;