Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 34 lines 767 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 sdl3, 7}: 8 9#TODO: tests 10 11stdenv.mkDerivation (finalAttrs: { 12 pname = "faudio"; 13 version = "25.07"; 14 15 src = fetchFromGitHub { 16 owner = "FNA-XNA"; 17 repo = "FAudio"; 18 tag = finalAttrs.version; 19 hash = "sha256-ZMU3ntvnUHbeWQ5k5ZSnSLBABGm/F/rSAUM4blorpts="; 20 }; 21 22 nativeBuildInputs = [ cmake ]; 23 24 buildInputs = [ sdl3 ]; 25 26 meta = { 27 description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library"; 28 homepage = "https://github.com/FNA-XNA/FAudio"; 29 changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${finalAttrs.version}"; 30 license = lib.licenses.zlib; 31 platforms = lib.platforms.unix; 32 maintainers = [ lib.maintainers.marius851000 ]; 33 }; 34})