mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
OpenGL package
svn path=/nixpkgs/trunk/; revision=15156
This commit is contained in:
parent
6e789bc2c8
commit
6aa0719e53
12
pkgs/development/libraries/haskell/OpenGL/default.nix
Normal file
12
pkgs/development/libraries/haskell/OpenGL/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{cabal, mesa, libX11}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "OpenGL";
|
||||
version = "2.2.1.1"; # Haskell Platform 2009.0.0
|
||||
sha256 = "926ca25cf9502cdaaeb8ade484015468cb60594e1bfbf0e04bd01235d8d9a792";
|
||||
propagatedBuildInputs = [mesa libX11];
|
||||
meta = {
|
||||
description = "A binding for the OpenGL graphics system";
|
||||
};
|
||||
})
|
||||
|
@ -115,6 +115,12 @@ rec {
|
||||
inherit cabal parsec;
|
||||
};
|
||||
|
||||
OpenGL = import ../development/libraries/haskell/OpenGL {
|
||||
inherit cabal;
|
||||
inherit (pkgs) mesa;
|
||||
inherit (pkgs.xlibs) libX11;
|
||||
};
|
||||
|
||||
parallel = import ../development/libraries/haskell/parallel {
|
||||
inherit cabal;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user