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