Added some SDL-related Haskell libs.

svn path=/nixpkgs/trunk/; revision=15304
This commit is contained in:
Andres Löh 2009-04-25 15:33:29 +00:00
parent 66f3af0bdd
commit 2a1fae29f8
5 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{cabal, SDL, SDL_image}:
cabal.mkDerivation (self : {
pname = "SDL-image";
version = "0.5.2";
sha256 = "82765f5ed11ef2ad3eb47f59105fe5aecd8de2515d698ef9ea989dc4cec18016";
propagatedBuildInputs = [SDL SDL_image];
meta = {
description = "Binding to libSDL_image";
};
})

View File

@ -0,0 +1,12 @@
{cabal, SDL, SDL_mixer}:
cabal.mkDerivation (self : {
pname = "SDL-mixer";
version = "0.5.5";
sha256 = "0e1b07a0cbe22eafff7b36f53e4ea840abad50131a867cb70d47beaf902fd185";
propagatedBuildInputs = [SDL SDL_mixer];
meta = {
description = "Binding to libSDL_mixer";
};
})

View File

@ -0,0 +1,12 @@
{cabal, SDL, SDL_ttf}:
cabal.mkDerivation (self : {
pname = "SDL-ttf";
version = "0.5.5";
sha256 = "577109d01fca61c103520e7bf33e45af118bcb6d15fcd6da7a8b72c43c69cbb6";
propagatedBuildInputs = [SDL SDL_ttf];
meta = {
description = "Binding to libSDL_ttf";
};
})

View File

@ -0,0 +1,12 @@
{cabal, SDL}:
cabal.mkDerivation (self : {
pname = "SDL";
version = "0.5.5";
sha256 = "cc56c723e03befd99be0a293347690ba7d2cb7fdafcbbc287f067a8cf70af172";
propagatedBuildInputs = [SDL];
meta = {
description = "Binding to libSDL";
};
})

View File

@ -218,6 +218,26 @@ rec {
inherit cabal regexBase;
};
SDLImage = import ../development/libraries/haskell/SDL-image {
inherit cabal SDL;
inherit (pkgs) SDL_image;
};
SDLMixer = import ../development/libraries/haskell/SDL-mixer {
inherit cabal SDL;
inherit (pkgs) SDL_mixer;
};
SDLTtf = import ../development/libraries/haskell/SDL-ttf {
inherit cabal SDL;
inherit (pkgs) SDL_ttf;
};
SDL = import ../development/libraries/haskell/SDL {
inherit cabal;
inherit (pkgs) SDL;
};
stm = import ../development/libraries/haskell/stm {
inherit cabal;
};