nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 40 lines 702 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 zlib, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "libmysofa"; 11 version = "1.3.3"; 12 13 src = fetchFromGitHub { 14 owner = "hoene"; 15 repo = "libmysofa"; 16 rev = "v${version}"; 17 hash = "sha256-jvib1hGPJEY2w/KjlD7iTtRy1s8LFG+Qhb2d6xdpUyc="; 18 }; 19 20 outputs = [ 21 "out" 22 "dev" 23 ]; 24 25 nativeBuildInputs = [ cmake ]; 26 buildInputs = [ zlib ]; 27 28 cmakeFlags = [ 29 "-DBUILD_TESTS=OFF" 30 "-DCODE_COVERAGE=OFF" 31 ]; 32 33 meta = with lib; { 34 description = "Reader for AES SOFA files to get better HRTFs"; 35 homepage = "https://github.com/hoene/libmysofa"; 36 license = licenses.bsd3; 37 platforms = platforms.all; 38 maintainers = [ ]; 39 }; 40}