nixpkgs/pkgs/applications/audio/paprefs/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

50 lines
914 B
Nix

{ fetchurl
, lib, stdenv
, meson
, ninja
, gettext
, pkg-config
, pulseaudioFull
, glibmm
, gtkmm3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "paprefs-1.1";
src = fetchurl {
url = "https://freedesktop.org/software/pulseaudio/paprefs/${name}.tar.xz";
sha256 = "189z5p20hk0xv9vwvym293503j4pwl03xqk9hl7cl6dwgv0l7wkf";
};
nativeBuildInputs = [
meson
ninja
gettext
pkg-config
wrapGAppsHook
];
buildInputs = [
pulseaudioFull
glibmm
gtkmm3
];
meta = with lib; {
description = "PulseAudio Preferences";
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;
};
}