Merge pull request #4756 from iyzsong/guile-sdl

add guile-sdl and bump guile to 2.0.11
This commit is contained in:
Arseniy Seroka 2014-11-03 17:09:57 +03:00
commit 2d47366e4c
3 changed files with 39 additions and 2 deletions

View File

@ -0,0 +1,35 @@
{ stdenv, fetchurl, guile, buildEnv
, SDL, SDL_image, SDL_ttf, SDL_mixer
}:
stdenv.mkDerivation rec {
name = "guile-sdl-0.5.1";
meta = with stdenv.lib; {
description = "Guile bindings for SDL";
homepage = "http://gnu.org/s/guile-sdl";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ iyzsong ];
};
src = fetchurl {
url = "mirror://gnu/guile-sdl/${name}.tar.xz";
sha256 = "126n4rd0ydh6i2s11ari5k85iivradlf12zq13b34shf9k1wn5am";
};
nativeBuildInputs = [ guile ];
buildInputs = [
SDL SDL_image SDL_ttf SDL_mixer
];
GUILE_AUTO_COMPILE = 0;
makeFlags = let
sdl = buildEnv {
name = "sdl-env";
paths = buildInputs;
};
in "SDLMINUSI=-I${sdl}/include/SDL";
}

View File

@ -7,11 +7,11 @@
else stdenv.mkDerivation)
(rec {
name = "guile-2.0.9";
name = "guile-2.0.11";
src = fetchurl {
url = "mirror://gnu/guile/${name}.tar.xz";
sha256 = "0nw9y8vjyz4r61v06p9msks5lm58pd91irmzg4k487vmv743h2pp";
sha256 = "1qh3j7308qvsjgwf7h94yqgckpbgz2k3yqdkzsyhqcafvfka9l5f";
};
nativeBuildInputs = [ makeWrapper gawk pkgconfig ];

View File

@ -4225,6 +4225,8 @@ let
guile-opengl = callPackage ../development/guile-modules/guile-opengl { };
guile-sdl = callPackage ../development/guile-modules/guile-sdl { };
guile-xcb = callPackage ../development/guile-modules/guile-xcb { };
pharo-vm = callPackage_i686 ../development/pharo/vm { };