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 e8bcbf97b29a..c3f8e1233430 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -899,6 +899,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 {};