Added vector library for Haskell.

svn path=/nixpkgs/trunk/; revision=21765
This commit is contained in:
Andres Löh 2010-05-13 16:21:38 +00:00
parent a309626c49
commit 01d171e811
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,13 @@
{cabal}:
cabal.mkDerivation (self : {
pname = "primitive";
version = "0.3";
sha256 = "b63cb5dd3417433429b3ad5489791bddd0973b96b7c3314a4ecc9e6a68b2a35d";
meta = {
description = "Wrappers for primitive operations";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -0,0 +1,14 @@
{cabal, primitive}:
cabal.mkDerivation (self : {
pname = "vector";
version = "0.6.0.1";
sha256 = "b0cba9b3aa94688321a2ec7b4fb4b41781073b2605584ad41957ba1c6892acce";
propagatedBuildInputs = [primitive];
meta = {
description = "Efficient arrays";
license = "BSD";
maintainers = [self.stdenv.lib.maintainers.andres];
};
})

View File

@ -562,6 +562,10 @@ rec {
inherit cabal binary;
};
primitive = import ../development/libraries/haskell/primitive {
inherit cabal;
};
QuickCheck = QuickCheck1;
QuickCheck1 = import ../development/libraries/haskell/QuickCheck {
@ -782,6 +786,10 @@ rec {
inherit cabal vacuum gtk2hs parallel strictConcurrency;
};
vector = import ../development/libraries/haskell/vector {
inherit cabal primitive;
};
vty = import ../development/libraries/haskell/vty {
inherit cabal utf8String terminfo;
};