SDL_stretch: mark broken on darwin

Also disables sdltest on darwin, since it breaks during configure.

And reformats the package, since meta was overindented.
This commit is contained in:
Martin Weinelt
2024-11-07 23:16:24 +01:00
parent f7516232a6
commit 4168b53b73
+11 -6
View File
@@ -16,16 +16,21 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ SDL ];
configureFlags = [
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
];
buildInputs = [ SDL ];
strictDeps = true;
meta = {
homepage = "https://sdl-stretch.sourceforge.net/";
description = "Stretch Functions For SDL";
license = lib.licenses.lgpl2;
maintainers = lib.teams.sdl.members
++ (with lib.maintainers; [ ]);
inherit (SDL.meta) platforms;
# sdlstretchcode.c:38:10: fatal error: 'malloc.h' file not found
broken = stdenv.hostPlatform.isDarwin;
homepage = "https://sdl-stretch.sourceforge.net/";
description = "Stretch Functions For SDL";
license = lib.licenses.lgpl2;
maintainers = lib.teams.sdl.members ++ (with lib.maintainers; [ ]);
inherit (SDL.meta) platforms;
};
})