From 6aa0719e53420df0e336c961ffc40d2d27b8420c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Sun, 19 Apr 2009 15:56:45 +0000 Subject: [PATCH] OpenGL package svn path=/nixpkgs/trunk/; revision=15156 --- .../development/libraries/haskell/OpenGL/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/OpenGL/default.nix diff --git a/pkgs/development/libraries/haskell/OpenGL/default.nix b/pkgs/development/libraries/haskell/OpenGL/default.nix new file mode 100644 index 000000000000..dc16fb9cf176 --- /dev/null +++ b/pkgs/development/libraries/haskell/OpenGL/default.nix @@ -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"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index a949f8480dd7..1df06af4f0ee 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -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; };