lol
1{ lib, stdenv, fetchFromGitHub, cmake, zlib }:
2
3stdenv.mkDerivation rec {
4 pname = "libmysofa";
5 version = "1.3.2";
6
7 src = fetchFromGitHub {
8 owner = "hoene";
9 repo = "libmysofa";
10 rev = "v${version}";
11 hash = "sha256-eXMGwa6lOtKoUCcHR9BM2S3NWAZkGyZzF3FAjYaWTvg=";
12 };
13
14 outputs = [ "out" "dev" ];
15
16 nativeBuildInputs = [ cmake ];
17 buildInputs = [ zlib ];
18
19 cmakeFlags = [ "-DBUILD_TESTS=OFF" "-DCODE_COVERAGE=OFF" ];
20
21 meta = with lib; {
22 description = "Reader for AES SOFA files to get better HRTFs";
23 homepage = "https://github.com/hoene/libmysofa";
24 license = licenses.bsd3;
25 platforms = platforms.all;
26 maintainers = with maintainers; [ ];
27 };
28}