Added haskell-mongoDB and dependencies.

svn path=/nixpkgs/trunk/; revision=30877
This commit is contained in:
Andres Löh 2011-12-14 07:57:52 +00:00
parent 0e3d2e236e
commit 9d19e4fe06
5 changed files with 94 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ cabal, binary, compactStringFix, cryptohash, dataBinaryIeee754
, mtl, network, time
}:
cabal.mkDerivation (self: {
pname = "bson";
version = "0.1.6";
sha256 = "0w9dab8x6b3dwk2afy0gnmrvcvx2dshwhjvlr2k69nchid4wh823";
buildDepends = [
binary compactStringFix cryptohash dataBinaryIeee754 mtl network
time
];
meta = {
homepage = "http://github.com/TonyGen/bson-haskell";
description = "BSON documents are JSON-like objects with a standard binary encoding";
license = "unknown";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -0,0 +1,17 @@
{ cabal }:
cabal.mkDerivation (self: {
pname = "compact-string-fix";
version = "0.3.2";
sha256 = "161z0lmrrqvy77ppdgz7m6nazcmlmy1azxa8rx0cgpqmyxzkf87n";
meta = {
homepage = "http://twan.home.fmf.nl/compact-string/";
description = "Same as compact-string except with a small fix so it builds on ghc-6.12";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -0,0 +1,20 @@
{ cabal, binary }:
cabal.mkDerivation (self: {
pname = "data-binary-ieee754";
version = "0.4.2.1";
sha256 = "0i0nclq8858flpp2sl3czwz6rfaykjrlzpvlfr6vlxzf8zvah9kz";
isLibrary = true;
isExecutable = true;
buildDepends = [ binary ];
meta = {
homepage = "http://john-millikin.com/software/data-binary-ieee754/";
description = "Parser/Serialiser for IEEE-754 floating-point values";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -0,0 +1,23 @@
{ cabal, binary, bson, cryptohash, monadControl, mtl, network
, parsec, random, randomShuffle
}:
cabal.mkDerivation (self: {
pname = "mongoDB";
version = "1.1.1";
sha256 = "0hy47kvswm4g85c3lb75fvdrcnrcbmjrhk15r1jjriwzqicgiimz";
buildDepends = [
binary bson cryptohash monadControl mtl network parsec random
randomShuffle
];
meta = {
homepage = "http://github.com/TonyGen/mongoDB-haskell";
description = "Driver (client) for MongoDB, a free, scalable, fast, document DBMS";
license = "unknown";
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})

View File

@ -433,6 +433,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
Boolean = callPackage ../development/libraries/haskell/Boolean {};
bson = callPackage ../development/libraries/haskell/bson {};
bytestringNums = callPackage ../development/libraries/haskell/bytestring-nums {};
bytestringLexing = callPackage ../development/libraries/haskell/bytestring-lexing {};
@ -477,6 +479,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
colour = callPackage ../development/libraries/haskell/colour {};
compactStringFix = callPackage ../development/libraries/haskell/compact-string-fix {};
ConfigFile = callPackage ../development/libraries/haskell/ConfigFile {};
controlMonadAttempt = callPackage ../development/libraries/haskell/control-monad-attempt {};
@ -517,6 +521,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
dataAccessorTemplate = callPackage ../development/libraries/haskell/data-accessor/data-accessor-template.nix {};
dataBinaryIeee754 = callPackage ../development/libraries/haskell/data-binary-ieee754 {};
dataDefault = callPackage ../development/libraries/haskell/data-default {};
dataenc = callPackage ../development/libraries/haskell/dataenc {};
@ -864,6 +870,7 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
MonadCatchIOTransformers = callPackage ../development/libraries/haskell/MonadCatchIO-transformers {};
monadControl_OBSOLETE = callPackage ../development/libraries/haskell/monad-control/0.2.0.3.nix {};
monadControl2 = self.monadControl_OBSOLETE;
monadControl = callPackage ../development/libraries/haskell/monad-control {};
monadLoops = callPackage ../development/libraries/haskell/monad-loops {};
@ -876,6 +883,10 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
MonadRandom = callPackage ../development/libraries/haskell/MonadRandom {};
mongoDB = callPackage ../development/libraries/haskell/mongoDB {
monadControl = self.monadControl2;
};
mpppc = callPackage ../development/libraries/haskell/mpppc {};
mtl_1_1_0_2 = callPackage ../development/libraries/haskell/mtl/1.1.0.2.nix {};