about summary refs log tree commit diff
path: root/pkgs/development/libraries/raylib
diff options
context:
space:
mode:
authorEmery Hemingway <ehmry@posteo.net>2022-10-23 20:18:46 -0500
committerehmry <ehmry@posteo.net>2022-10-31 08:54:48 -0500
commit19d9ac28cc04047b2a7b9ed8a0c509f2d1d3d8d2 (patch)
tree49691bef2022d46d603474ba28de2f4b7896e78e /pkgs/development/libraries/raylib
parent7aa48a0dd39ac66c850ccc123c3608fca6bca4ee (diff)
raylib-games: init at 2022-10-14
Now we have something to test our Raylib package against.
Diffstat (limited to 'pkgs/development/libraries/raylib')
-rw-r--r--pkgs/development/libraries/raylib/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/raylib/default.nix b/pkgs/development/libraries/raylib/default.nix
index 6d1859fe32f4e..c2655a6a380f3 100644
--- a/pkgs/development/libraries/raylib/default.nix
+++ b/pkgs/development/libraries/raylib/default.nix
@@ -5,6 +5,7 @@
 , pulseSupport ? stdenv.hostPlatform.isLinux, libpulseaudio
 , sharedLib ? true
 , includeEverything ? true
+, raylib-games
 }:
 
 stdenv.mkDerivation rec {
@@ -50,6 +51,8 @@ stdenv.mkDerivation rec {
     ${lib.optionalString pulseSupport "patchelf --add-needed ${libpulseaudio}/lib/libpulse.so $out/lib/libraylib.so.${version}"}
   '';
 
+  passthru.tests = [ raylib-games ];
+
   meta = with lib; {
     description = "A simple and easy-to-use library to enjoy videogames programming";
     homepage = "https://www.raylib.com/";