SDL2_sound: switch to finalAttrs pattern

Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
Marcin Serwin
2025-06-26 15:48:05 +02:00
parent 7190b6d0ef
commit ac91959606
+3 -3
View File
@@ -6,14 +6,14 @@
SDL2,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "SDL2_sound";
version = "2.0.4";
src = fetchFromGitHub {
owner = "icculus";
repo = "SDL_sound";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-5t2ELm8d8IX+cIJqGl/8sffwXGj5Cm0kZI6+bmjvvPg=";
};
@@ -31,4 +31,4 @@ stdenv.mkDerivation rec {
teams = [ lib.teams.sdl ];
homepage = "https://www.icculus.org/SDL_sound/";
};
}
})