forked from mirrors/nixpkgs
25 lines
800 B
Nix
25 lines
800 B
Nix
{ cabal, binary, cryptohash, dataBinaryIeee754, mtl, network
|
|
, QuickCheck, testFramework, testFrameworkQuickcheck2, text, time
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "bson";
|
|
version = "0.2.3";
|
|
sha256 = "0p8c4cq8ldspwj4pmg0l8pg8bkwsk9xan07md32ikm4bfqsnv2rb";
|
|
buildDepends = [
|
|
binary cryptohash dataBinaryIeee754 mtl network text time
|
|
];
|
|
testDepends = [
|
|
binary cryptohash dataBinaryIeee754 mtl network QuickCheck
|
|
testFramework testFrameworkQuickcheck2 text time
|
|
];
|
|
doCheck = false;
|
|
meta = {
|
|
homepage = "http://github.com/selectel/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 ];
|
|
};
|
|
})
|