Added vector library for Haskell.
svn path=/nixpkgs/trunk/; revision=21765
This commit is contained in:
parent
a309626c49
commit
01d171e811
13
pkgs/development/libraries/haskell/primitive/default.nix
Normal file
13
pkgs/development/libraries/haskell/primitive/default.nix
Normal 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];
|
||||
};
|
||||
})
|
||||
|
14
pkgs/development/libraries/haskell/vector/default.nix
Normal file
14
pkgs/development/libraries/haskell/vector/default.nix
Normal 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];
|
||||
};
|
||||
})
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user