Loading pkgs/development/libraries/SDL2/default.nix +28 −2 Original line number Diff line number Diff line Loading @@ -51,6 +51,15 @@ , withStatic ? stdenv.hostPlatform.isMinGW # passthru.tests , testers , guile-sdl2 , jazz2 , SDL2_ttf , SDL2_net , SDL2_gfx , SDL2_sound , SDL2_mixer , SDL2_image , python3Packages }: # NOTE: When editing this expression see if the same change applies to Loading Loading @@ -173,9 +182,26 @@ stdenv.mkDerivation (finalAttrs: { passthru = { inherit openglSupport; updateScript = nix-update-script { extraArgs = [ "--version-regex" "release-(.*)" ]; }; tests.pkg-config = testers.hasPkgConfigModules { tests = { pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; }; inherit guile-sdl2 jazz2 SDL2_ttf SDL2_net SDL2_gfx SDL2_sound SDL2_mixer SDL2_image ; inherit (python3Packages) pygame pygame-ce pygame-sdl2 ; }; }; meta = with lib; { Loading Loading
pkgs/development/libraries/SDL2/default.nix +28 −2 Original line number Diff line number Diff line Loading @@ -51,6 +51,15 @@ , withStatic ? stdenv.hostPlatform.isMinGW # passthru.tests , testers , guile-sdl2 , jazz2 , SDL2_ttf , SDL2_net , SDL2_gfx , SDL2_sound , SDL2_mixer , SDL2_image , python3Packages }: # NOTE: When editing this expression see if the same change applies to Loading Loading @@ -173,9 +182,26 @@ stdenv.mkDerivation (finalAttrs: { passthru = { inherit openglSupport; updateScript = nix-update-script { extraArgs = [ "--version-regex" "release-(.*)" ]; }; tests.pkg-config = testers.hasPkgConfigModules { tests = { pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; }; inherit guile-sdl2 jazz2 SDL2_ttf SDL2_net SDL2_gfx SDL2_sound SDL2_mixer SDL2_image ; inherit (python3Packages) pygame pygame-ce pygame-sdl2 ; }; }; meta = with lib; { Loading