diff --git a/pkgs/by-name/bs/bstone/package.nix b/pkgs/by-name/bs/bstone/package.nix index bccd35a0b33c..373340fb052a 100644 --- a/pkgs/by-name/bs/bstone/package.nix +++ b/pkgs/by-name/bs/bstone/package.nix @@ -6,12 +6,16 @@ makeWrapper, sdl2-compat, vulkan-loader, + openal, }: stdenv.mkDerivation (finalAttrs: { pname = "bstone"; version = "1.3.4"; + __structuredAttrs = true; + strictDeps = true; + src = fetchFromGitHub { owner = "bibendovsky"; repo = "bstone"; @@ -26,7 +30,6 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ sdl2-compat - vulkan-loader ]; postInstall = '' @@ -35,12 +38,17 @@ stdenv.mkDerivation (finalAttrs: { mv $out/*.txt $out/share/bibendovsky/bstone wrapProgram $out/bin/bstone \ - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]} + --prefix LD_LIBRARY_PATH : ${ + lib.makeLibraryPath [ + openal + vulkan-loader + ] + } ''; meta = { description = "Unofficial source port for the Blake Stone series"; - homepage = "https://github.com/bibendovsky/bstone"; + homepage = "https://bibendovsky.github.io/bstone"; changelog = "https://github.com/bibendovsky/bstone/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ gpl2Plus # Original game source code