Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 28 lines 702 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, zlib }: 2 3stdenv.mkDerivation rec { 4 pname = "libmysofa"; 5 version = "1.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "hoene"; 9 repo = "libmysofa"; 10 rev = "v${version}"; 11 sha256 = "sha256-QEfkeofsVxB9gyISL/P7bvnbcBuG7Q3A4UoAyQAXxgE="; 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; [ jfrankenau ]; 27 }; 28}