2018-03-26 10:35:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libmysofa";
|
2020-06-14 20:14:57 +00:00
|
|
|
version = "1.1";
|
2018-03-26 10:35:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hoene";
|
|
|
|
repo = "libmysofa";
|
|
|
|
rev = "v${version}";
|
2020-06-14 20:14:57 +00:00
|
|
|
sha256 = "12jzap5fh0a1fmfy4z8z4kjjlwi0qzdb9z59ijdlyqdzwxnzkccx";
|
2018-03-26 10:35:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
2020-08-06 12:36:55 +00:00
|
|
|
cmakeFlags = [ "-DBUILD_TESTS=OFF" "-DCODE_COVERAGE=OFF" ];
|
2018-03-26 10:35:23 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Reader for AES SOFA files to get better HRTFs";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/hoene/libmysofa";
|
2018-03-26 10:35:23 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
|
|
};
|
|
|
|
}
|