forked from mirrors/nixpkgs
Added some SDL-related Haskell libs.
svn path=/nixpkgs/trunk/; revision=15304
This commit is contained in:
parent
66f3af0bdd
commit
2a1fae29f8
12
pkgs/development/libraries/haskell/SDL-image/default.nix
Normal file
12
pkgs/development/libraries/haskell/SDL-image/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/SDL-mixer/default.nix
Normal file
12
pkgs/development/libraries/haskell/SDL-mixer/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/SDL-ttf/default.nix
Normal file
12
pkgs/development/libraries/haskell/SDL-ttf/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/SDL/default.nix
Normal file
12
pkgs/development/libraries/haskell/SDL/default.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue