Files
nixpkgs/pkgs/by-name/sd/SDL_stretch/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
822 B
Nix

{
lib,
SDL,
fetchurl,
stdenv,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "SDL_stretch";
version = "0.3.1";
src = fetchurl {
url = "mirror://sourceforge/sdl-stretch/${finalAttrs.version}/SDL_stretch-${finalAttrs.version}.tar.bz2";
hash = "sha256-fL8L+rAMPt1uceGH0qLEgncEh4DiySQIuqt7YjUy/Nc=";
};
nativeBuildInputs = [ SDL ];
configureFlags = [
(lib.enableFeature (!stdenv.hostPlatform.isDarwin) "sdltest")
];
buildInputs = [ SDL ];
strictDeps = true;
meta = {
# 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 = [ ];
inherit (SDL.meta) platforms;
};
})