mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{ fetchurl
|
|
, lib
|
|
, stdenv
|
|
, pkg-config
|
|
, intltool
|
|
, libpulseaudio
|
|
, gtkmm3
|
|
, libsigcxx
|
|
, libcanberra-gtk3
|
|
, json-glib
|
|
, gnome
|
|
, 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
|
|
gnome.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";
|
|
};
|
|
}
|