Unverified Commit 8a1bb03b authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.pygame{,-ce}: unbreak on darwin (#401206)

parents 424ebea5 6fd448e1
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
{
  SDL2_image,
  SDL2_classic,
  enableSTB ? true,
}:

(SDL2_image.override {
  SDL2 = SDL2_classic;
  inherit enableSTB;
}).overrideAttrs
  {
    pname = "SDL2_classic_image";
  }
+11 −0
Original line number Diff line number Diff line
{
  SDL2_mixer,
  SDL2_classic,
}:

(SDL2_mixer.override {
  SDL2 = SDL2_classic;
}).overrideAttrs
  {
    pname = "SDL2_classic_mixer";
  }
+8 −0
Original line number Diff line number Diff line
{
  SDL2_mixer_2_0,
  SDL2_classic_mixer,
}:

SDL2_mixer_2_0.override {
  SDL2_mixer = SDL2_classic_mixer;
}
+11 −0
Original line number Diff line number Diff line
{
  SDL2_ttf,
  SDL2_classic,
}:

(SDL2_ttf.override {
  SDL2 = SDL2_classic;
}).overrideAttrs
  {
    pname = "SDL2_classic_ttf";
  }
+0 −6
Original line number Diff line number Diff line
@@ -2,10 +2,7 @@
  lib,
  SDL2,
  autoreconfHook,
  darwin,
  fetchurl,
  giflib,
  libXpm,
  libjpeg,
  libpng,
  libtiff,
@@ -19,9 +16,6 @@
  enableSdltest ? (!stdenv.hostPlatform.isDarwin),
}:

let
  inherit (darwin.apple_sdk.frameworks) Foundation;
in
stdenv.mkDerivation (finalAttrs: {
  pname = "SDL2_image";
  version = "2.8.5";
Loading