forked from mirrors/nixpkgs
fbe47c8479
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/webrtc-audio-processing/versions. Also remove isAarch32 configure hack since it is no longer applicable after https://cgit.freedesktop.org/pulseaudio/webrtc-audio-processing/commit/?id=ff77a85c28564d939d554ba264480d1876cbc316 Also fix Darwin build Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
25 lines
909 B
Nix
25 lines
909 B
Nix
{ stdenv, fetchurl, darwin }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "webrtc-audio-processing-0.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${name}.tar.xz";
|
|
sha256 = "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0";
|
|
};
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices ]);
|
|
|
|
patchPhase = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
|
|
substituteInPlace webrtc/base/checks.cc --replace 'defined(__UCLIBC__)' 1
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing;
|
|
description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|