Skip to content

Commit c545bb8

Browse files
author
emaryn
committed
1 parent 2b70f37 commit c545bb8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

pkgs/by-name/fa/faudio/package.nix

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@
33
stdenv,
44
fetchFromGitHub,
55
cmake,
6-
SDL2,
6+
sdl3,
77
}:
88

99
#TODO: tests
1010

11-
stdenv.mkDerivation rec {
11+
stdenv.mkDerivation (finalAttrs: {
1212
pname = "faudio";
13-
version = "25.02";
13+
version = "25.04";
1414

1515
src = fetchFromGitHub {
1616
owner = "FNA-XNA";
1717
repo = "FAudio";
18-
rev = version;
19-
sha256 = "sha256-nPU225LLQYN0D1LUsp9XGm2bCcB5WLpD3TcGDiWCe0c=";
18+
tag = finalAttrs.version;
19+
hash = "sha256-nYpolFizEWCSI/YENViMKDu7ExpFpPivH5RnS7PMfkA=";
2020
};
2121

2222
nativeBuildInputs = [ cmake ];
2323

24-
buildInputs = [ SDL2 ];
24+
buildInputs = [ sdl3 ];
2525

26-
meta = with lib; {
26+
meta = {
2727
description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
2828
homepage = "https://github.com/FNA-XNA/FAudio";
29-
changelog = "https://github.com/FNA-XNA/FAudio/releases/tag/${version}";
30-
license = licenses.zlib;
31-
platforms = platforms.unix;
32-
maintainers = [ maintainers.marius851000 ];
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 ];
3333
};
34-
}
34+
})

0 commit comments

Comments
 (0)