mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Added final(?) set of Haskell Platform packages.
svn path=/nixpkgs/trunk/; revision=15160
This commit is contained in:
parent
6aa0719e53
commit
8b678d5308
12
pkgs/development/libraries/haskell/GLUT/default.nix
Normal file
12
pkgs/development/libraries/haskell/GLUT/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{cabal, OpenGL, glut}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "GLUT";
|
||||
version = "2.1.1.2"; # Haskell Platform 2009.0.0
|
||||
sha256 = "d5ecf4b6bacc5e68ade00710df04fa158c6ed322c74362954716a0baba6bd3fb";
|
||||
propagatedBuildInputs = [OpenGL glut];
|
||||
meta = {
|
||||
description = "A binding for the OpenGL Utility Toolkit";
|
||||
};
|
||||
})
|
||||
|
12
pkgs/development/libraries/haskell/OpenAL/default.nix
Normal file
12
pkgs/development/libraries/haskell/OpenAL/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{cabal, OpenGL, openal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "OpenAL";
|
||||
version = "1.3.1.1"; # Haskell Platform 2009.0.0
|
||||
sha256 = "4875e015770feb93d5127d4b6f2338eb3957a0c36f64ccb8b3846010619f89b0";
|
||||
propagatedBuildInputs = [OpenGL openal];
|
||||
meta = {
|
||||
description = "A binding to the OpenAL cross-platform 3D audio API";
|
||||
};
|
||||
})
|
||||
|
@ -51,6 +51,11 @@ rec {
|
||||
ghcPaths = import ../development/libraries/haskell/ghc-paths {
|
||||
inherit cabal;
|
||||
};
|
||||
|
||||
GLUT = import ../development/libraries/haskell/GLUT {
|
||||
inherit cabal OpenGL;
|
||||
glut = pkgs.freeglut;
|
||||
};
|
||||
|
||||
gtk2hs = import ../development/libraries/haskell/gtk2hs {
|
||||
inherit ghc mtl;
|
||||
@ -115,6 +120,11 @@ rec {
|
||||
inherit cabal parsec;
|
||||
};
|
||||
|
||||
OpenAL = import ../development/libraries/haskell/OpenAL {
|
||||
inherit cabal OpenGL;
|
||||
inherit (pkgs) openal;
|
||||
};
|
||||
|
||||
OpenGL = import ../development/libraries/haskell/OpenGL {
|
||||
inherit cabal;
|
||||
inherit (pkgs) mesa;
|
||||
|
Loading…
Reference in New Issue
Block a user