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";
|
2021-11-14 10:09:50 +00:00
|
|
|
version = "1.2.1";
|
2018-03-26 11:35:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hoene";
|
|
|
|
repo = "libmysofa";
|
|
|
|
rev = "v${version}";
|
2021-11-14 10:09:50 +00:00
|
|
|
sha256 = "sha256-SCyeicZ+JkJU1x2X3efOvxUXT2qF2IiUsj+anLg5Lsg=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|