Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / faudio / default.nix
blob8389640e4e59ce0d4b132cc00fbde59ccf254400
1 { lib, stdenv, fetchFromGitHub, cmake, SDL2}:
3 #TODO: tests
5 stdenv.mkDerivation rec {
6   pname = "faudio";
7   version = "23.11";
9   src = fetchFromGitHub {
10     owner = "FNA-XNA";
11     repo = "FAudio";
12     rev = version;
13     sha256 = "sha256-iK0cjhq16DU/77p0cM3SMk+gE1PQV0zd96a3kxwXNLk=";
14   };
16   nativeBuildInputs = [cmake];
18   buildInputs = [ SDL2 ];
20   meta = with lib; {
21     description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
22     homepage = "https://github.com/FNA-XNA/FAudio";
23     changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${version}";
24     license = licenses.zlib;
25     platforms = platforms.linux;
26     maintainers = [ maintainers.marius851000 ];
27   };