haskell-GLFW: added version 0.5.0.1

svn path=/nixpkgs/trunk/; revision=31893
This commit is contained in:
Peter Simons 2012-01-27 20:31:00 +00:00
parent ed92080b8d
commit bbe935774d
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ cabal, libX11, mesa, OpenGL }:
cabal.mkDerivation (self: {
pname = "GLFW";
version = "0.5.0.1";
sha256 = "1zjxw0fn1am9n4bwqn8jwp14cdgyg1cv5v8rrg2bisggw7wdc4c6";
buildDepends = [ OpenGL ];
extraLibraries = [ libX11 mesa ];
meta = {
homepage = "http://haskell.org/haskellwiki/GLFW";
description = "A Haskell binding for GLFW";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -703,6 +703,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
libc = pkgs.stdenv.gcc.libc;
};
GLFW = callPackage ../development/libraries/haskell/GLFW {};
glib = callPackage ../development/libraries/haskell/glib {
glib = pkgs.glib;
libc = pkgs.stdenv.gcc.libc;