From 540966025d16ccf85a701c9b2273ca183165e7ff Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Mon, 22 Oct 2012 14:39:24 +0200 Subject: [PATCH] Add package haskell-lambdacube-engine-0.2.4 Add package haskell-lambdacube-engine-0.2.4 and haskell-vect-0.4.7. --- .../haskell/lambdacube-engine/default.nix | 19 +++++++++++++++++++ .../libraries/haskell/vect/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 ++++ 3 files changed, 37 insertions(+) create mode 100644 pkgs/development/libraries/haskell/lambdacube-engine/default.nix create mode 100644 pkgs/development/libraries/haskell/vect/default.nix diff --git a/pkgs/development/libraries/haskell/lambdacube-engine/default.nix b/pkgs/development/libraries/haskell/lambdacube-engine/default.nix new file mode 100644 index 00000000000..f3c9a8af4ea --- /dev/null +++ b/pkgs/development/libraries/haskell/lambdacube-engine/default.nix @@ -0,0 +1,19 @@ +{ cabal, binary, bitmap, bytestringTrie, filepath, mtl, OpenGLRaw +, stbImage, uulib, vect, vector, vectorAlgorithms, xml, zipArchive +}: + +cabal.mkDerivation (self: { + pname = "lambdacube-engine"; + version = "0.2.4"; + sha256 = "1xdp10nylndmfw16dywqrxj30g99rf9qbcx5qiglvzm1c1kxid3f"; + buildDepends = [ + binary bitmap bytestringTrie filepath mtl OpenGLRaw stbImage uulib + vect vector vectorAlgorithms xml zipArchive + ]; + meta = { + homepage = "http://www.haskell.org/haskellwiki/LambdaCubeEngine"; + description = "3D rendering engine written entirely in Haskell"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/vect/default.nix b/pkgs/development/libraries/haskell/vect/default.nix new file mode 100644 index 00000000000..2d81a013176 --- /dev/null +++ b/pkgs/development/libraries/haskell/vect/default.nix @@ -0,0 +1,14 @@ +{ cabal, random }: + +cabal.mkDerivation (self: { + pname = "vect"; + version = "0.4.7"; + sha256 = "1049jh8rcxfnyckz5m5asdlyafqszlig96k387raldyfzbrf8f4d"; + buildDepends = [ random ]; + meta = { + homepage = "http://code.haskell.org/~bkomuves/"; + description = "A low-dimensional linear algebra library, tailored to computer graphics"; + 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 4acc9ab0186..a9a3ddf5f79 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1081,6 +1081,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); lambdabotUtils = callPackage ../development/libraries/haskell/lambdabot-utils {}; + lambdacubeEngine = callPackage ../development/libraries/haskell/lambdacube-engine {}; + largeword = callPackage ../development/libraries/haskell/largeword {}; lazysmallcheck = callPackage ../development/libraries/haskell/lazysmallcheck {}; @@ -1644,6 +1646,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); Vec = callPackage ../development/libraries/haskell/Vec {}; + vect = callPackage ../development/libraries/haskell/vect {}; + vector_0_9_1 = callPackage ../development/libraries/haskell/vector/0.9.1.nix {}; vector_0_10 = callPackage ../development/libraries/haskell/vector/0.10.nix {}; vector_0_10_0_1 = callPackage ../development/libraries/haskell/vector/0.10.0.1.nix {};