Merge pull request #247236 from wegank/guile-sdl-bump

guile-sdl: 0.5.2 -> 0.6.1
This commit is contained in:
Weijia Wang 2023-08-05 11:34:59 +02:00 committed by GitHub
commit aebee3ca2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,50 +1,60 @@
{ lib
, stdenv
, fetchurl
, guile
, lzip
, pkg-config
, SDL
, SDL_image
, SDL_mixer
, SDL_ttf
, buildEnv
, guile
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "guile-sdl";
version = "0.5.2";
version = "0.6.1";
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-ATx1bnnDlj69h6ZUy7wd2lVsuDGS424sFCIlJQLQTzI=";
url = "mirror://gnu/${pname}/${pname}-${version}.tar.lz";
hash = "sha256-/9sTTvntkRXck3FoRalROjqUQC8hkePtLTnHNZotKOE=";
};
strictDeps = true;
nativeBuildInputs = [
guile
lzip
pkg-config
SDL
];
buildInputs = [
guile
(lib.getDev SDL)
SDL_image
SDL_mixer
SDL_ttf
];
makeFlags = let
sdl-env = buildEnv {
name = "sdl-env";
paths = buildInputs;
};
in [
"GUILE_AUTO_COMPILE=0"
"SDLMINUSI=-I${sdl-env}/include/SDL"
];
makeFlags =
let
sdl-env = buildEnv {
name = "sdl-env";
paths = buildInputs;
};
in
[
"SDLMINUSI=-I${sdl-env}/include/SDL"
];
meta = with lib; {
homepage = "https://www.gnu.org/software/guile-sdl/";
description = "Guile bindings for SDL";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
platforms = guile.meta.platforms;
# configure: error: *** SDL version not found!
broken = stdenv.isDarwin;
};
}