nixpkgs/pkgs/development/libraries/audio/libmysofa/default.nix
B. Kelly 0834620bef libmysofa: disable CODE_COVERAGE in build
Leaving it on generates huge amounts of stderr spam from anything that
links it (such as ffmpeg) as it tries (and fails) to create profiling
records in /build.
2020-08-06 08:36:55 -04:00

27 lines
673 B
Nix

{ stdenv, fetchFromGitHub, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "libmysofa";
version = "1.1";
src = fetchFromGitHub {
owner = "hoene";
repo = "libmysofa";
rev = "v${version}";
sha256 = "12jzap5fh0a1fmfy4z8z4kjjlwi0qzdb9z59ijdlyqdzwxnzkccx";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
cmakeFlags = [ "-DBUILD_TESTS=OFF" "-DCODE_COVERAGE=OFF" ];
meta = with stdenv.lib; {
description = "Reader for AES SOFA files to get better HRTFs";
homepage = "https://github.com/hoene/libmysofa";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ jfrankenau ];
};
}