nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, cmake, fetchFromGitHub, libmysofa, zlib }:
2
3stdenv.mkDerivation rec {
4 pname = "libspatialaudio";
5 version = "0.3.0";
6
7 src = fetchFromGitHub {
8 owner = "videolabs";
9 repo = "libspatialaudio";
10 rev = version;
11 hash = "sha256-sPnQPD41AceXM4uGqWXMYhuQv0TUkA6TZP8ChxUFIoI=";
12 };
13
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ libmysofa zlib ];
16
17 meta = with lib; {
18 description =
19 "Ambisonic encoding / decoding and binauralization library in C++";
20 homepage = "https://github.com/videolabs/libspatialaudio";
21 license = licenses.lgpl21Plus;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ krav ];
24 };
25}