Skip to content

Commit

Permalink
raylib: add diniamo as a maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
diniamo committed Dec 7, 2024
1 parent 51392b8 commit 425473b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/by-name/ra/raylib/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
alsa-lib,
libpulseaudio,
raylib-games,
libGLU,
libX11,
platform ? "Desktop", # Note that "Web", "Android" and "Raspberry Pi" do not currently work
pulseSupport ? stdenv.hostPlatform.isLinux,
alsaSupport ? false,
Expand Down Expand Up @@ -48,8 +50,11 @@ lib.checkListOfEnum "${pname}: platform"
nativeBuildInputs = [
cmake
] ++ optional (builtins.length finalAttrs.appendRunpaths > 0) autoPatchelfHook;

buildInputs = optional (platform == "Desktop") glfw ++ optional (platform == "SDL") SDL2;

propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libGLU libX11 ];

# https://github.com/raysan5/raylib/wiki/CMake-Build-Options
cmakeFlags =
[
Expand All @@ -72,7 +77,7 @@ lib.checkListOfEnum "${pname}: platform"
description = "Simple and easy-to-use library to enjoy videogames programming";
homepage = "https://www.raylib.com/";
license = lib.licenses.zlib;
maintainers = [ ];
maintainers = [ lib.maintainers.diniamo ];
platforms = lib.platforms.all;
changelog = "https://github.com/raysan5/raylib/blob/${finalAttrs.version}/CHANGELOG";
};
Expand Down

0 comments on commit 425473b

Please sign in to comment.