depot/third_party/nixpkgs/pkgs/applications/audio/paprefs/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

53 lines
972 B
Nix

{ fetchurl
, lib
, stdenv
, meson
, ninja
, gettext
, pkg-config
, pulseaudioFull
, glibmm
, gtkmm3
, wrapGAppsHook3
}:
stdenv.mkDerivation rec {
pname = "paprefs";
version = "1.2";
src = fetchurl {
url = "https://freedesktop.org/software/pulseaudio/paprefs/paprefs-${version}.tar.xz";
sha256 = "sha256-s/IeQNw5NtFeP/yRD7DAfBS4jowodxW0VqlIwXY49jM=";
};
nativeBuildInputs = [
meson
ninja
gettext
pkg-config
wrapGAppsHook3
];
buildInputs = [
pulseaudioFull
glibmm
gtkmm3
];
meta = with lib; {
description = "PulseAudio Preferences";
mainProgram = "paprefs";
longDescription = ''
PulseAudio Preferences (paprefs) is a simple GTK based configuration
dialog for the PulseAudio sound server.
'';
homepage = "http://freedesktop.org/software/pulseaudio/paprefs/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.abbradar ];
platforms = platforms.linux;
};
}