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