e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
28 lines
722 B
Nix
28 lines
722 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, SDL2}:
|
|
|
|
#TODO: tests
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "faudio";
|
|
version = "23.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "FNA-XNA";
|
|
repo = "FAudio";
|
|
rev = version;
|
|
sha256 = "sha256-bftS5gcIzvJlv9K2hKIIXl5lzP4RVwSK5/kxpQrJe/A=";
|
|
};
|
|
|
|
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.linux;
|
|
maintainers = [ maintainers.marius851000 ];
|
|
};
|
|
}
|