From 8bb7c4e766e82ac834244d2a202ae58181592821 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Mon, 26 May 2014 23:59:13 +0200 Subject: [PATCH] haskell-glutil: add version 0.7.4 --- .../libraries/haskell/GLUtil/default.nix | 16 ++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/haskell/GLUtil/default.nix diff --git a/pkgs/development/libraries/haskell/GLUtil/default.nix b/pkgs/development/libraries/haskell/GLUtil/default.nix new file mode 100644 index 000000000000..507beef06632 --- /dev/null +++ b/pkgs/development/libraries/haskell/GLUtil/default.nix @@ -0,0 +1,16 @@ +{ cabal, cpphs, JuicyPixels, linear, OpenGL, OpenGLRaw, vector }: + +cabal.mkDerivation (self: { + pname = "GLUtil"; + version = "0.7.4"; + sha256 = "0l1w0k3q5g22y90w5frljqh1v4jb7gjzb3scg79zp42pc9v3h4l5"; + buildDepends = [ + cpphs JuicyPixels linear OpenGL OpenGLRaw vector + ]; + buildTools = [ cpphs ]; + meta = { + description = "Miscellaneous OpenGL utilities"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 216037e74cdf..129b96be526f 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -895,6 +895,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in }; GLUT = self.GLUT_2_5_1_1; + GLUtil = callPackage ../development/libraries/haskell/GLUtil {}; + gnuidn = callPackage ../development/libraries/haskell/gnuidn {}; gnuplot = callPackage ../development/libraries/haskell/gnuplot {};