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-02-07 12:56:06 +00:00
|
|
|
version = "1.0";
|
2018-03-26 10:35:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hoene";
|
|
|
|
repo = "libmysofa";
|
|
|
|
rev = "v${version}";
|
2020-02-07 12:56:06 +00:00
|
|
|
sha256 = "053inxfl2n6wdgvnn02kf63m92r48ch4wqix9mqf3rgcf1bfkyfa";
|
2018-03-26 10:35:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zlib ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DBUILD_TESTS=OFF" ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|