Loading pkgs/development/guile-modules/guile-sdl/default.nix +25 −15 Original line number Diff line number Diff line { 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 makeFlags = let sdl-env = buildEnv { name = "sdl-env"; paths = buildInputs; }; in [ "GUILE_AUTO_COMPILE=0" in [ "SDLMINUSI=-I${sdl-env}/include/SDL" ]; Loading @@ -45,6 +53,8 @@ stdenv.mkDerivation rec { 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; }; } Loading
pkgs/development/guile-modules/guile-sdl/default.nix +25 −15 Original line number Diff line number Diff line { 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 makeFlags = let sdl-env = buildEnv { name = "sdl-env"; paths = buildInputs; }; in [ "GUILE_AUTO_COMPILE=0" in [ "SDLMINUSI=-I${sdl-env}/include/SDL" ]; Loading @@ -45,6 +53,8 @@ stdenv.mkDerivation rec { 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; }; }