depot/third_party/nixpkgs/pkgs/development/libraries/faudio/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

28 lines
721 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, SDL2}:
#TODO: tests
stdenv.mkDerivation rec {
pname = "faudio";
version = "24.10";
src = fetchFromGitHub {
owner = "FNA-XNA";
repo = "FAudio";
rev = version;
sha256 = "sha256-BUR/zFYOaEoa4pUUgzIcrWrpDX4AP9cySIelralb/t0=";
};
nativeBuildInputs = [cmake];
buildInputs = [ SDL2 ];
meta = with lib; {
description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
homepage = "https://github.com/FNA-XNA/FAudio";
changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${version}";
license = licenses.zlib;
platforms = platforms.unix;
maintainers = [ maintainers.marius851000 ];
};
}