3
0
Fork 0
forked from mirrors/nixpkgs

Add Haskell packages 'hybrid-vectors' and 'sparse'.

Also, disable the test suite of 'linear' which fails running the doctests.
This commit is contained in:
Thomas Tuegel 2014-02-06 13:25:14 -06:00 committed by Peter Simons
parent 6498f48976
commit 5b421f7bdb
4 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ cabal, deepseq, primitive, vector }:
cabal.mkDerivation (self: {
pname = "hybrid-vectors";
version = "0.1";
sha256 = "0a5ry6xmkr0zjz0kp7qbm7kdz5yr9842gy116902djppmdn5dq05";
buildDepends = [ deepseq primitive vector ];
meta = {
homepage = "http://github.com/ekmett/hybrid-vectors";
description = "Hybrid vectors e.g. Mixed Boxed/Unboxed vectors";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -17,6 +17,7 @@ cabal.mkDerivation (self: {
binary doctest filepath HUnit lens simpleReflect testFramework
testFrameworkHunit
];
doCheck = false;
meta = {
homepage = "http://github.com/ekmett/linear/";
description = "Linear Algebra";

View file

@ -0,0 +1,28 @@
{ cabal, contravariant, deepseq, doctest, filepath, hlint
, hybridVectors, lens, linear, mtl, primitive, QuickCheck
, semigroups, simpleReflect, testFramework
, testFrameworkQuickcheck2, testFrameworkTh, transformers, vector
, vectorAlgorithms
}:
cabal.mkDerivation (self: {
pname = "sparse";
version = "0.9";
sha256 = "0v0z7kjgmcdx9ajlhr9pc1i3qqghd60s02xnlmj4hcxby8k0r8mc";
buildDepends = [
contravariant deepseq hybridVectors lens primitive transformers
vector vectorAlgorithms
];
testDepends = [
deepseq doctest filepath hlint hybridVectors lens linear mtl
QuickCheck semigroups simpleReflect testFramework
testFrameworkQuickcheck2 testFrameworkTh transformers vector
];
doCheck = false;
meta = {
homepage = "http://github.com/ekmett/sparse";
description = "A playground of sparse linear algebra primitives using Morton ordering";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View file

@ -1449,6 +1449,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
hxtUnicode = callPackage ../development/libraries/haskell/hxt-unicode {};
hybridVectors = callPackage ../development/libraries/haskell/hybrid-vectors {};
iCalendar = callPackage ../development/libraries/haskell/iCalendar {};
idna = callPackage ../development/libraries/haskell/idna {};
@ -2128,6 +2130,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
socks = callPackage ../development/libraries/haskell/socks {};
sparse = callPackage ../development/libraries/haskell/sparse {
lens = self.lens_4_0_1;
linear = self.linear.override { lens = self.lens_4_0_1; };
};
srcloc = callPackage ../development/libraries/haskell/srcloc {};
stateref = callPackage ../development/libraries/haskell/stateref {};