nixpkgs/pkgs/development/libraries/haskell/postgresql-simple/default.nix
Peter Simons a30df95691 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-25 00:32:40 +01:00

22 lines
691 B
Nix

{ cabal, attoparsec, base16Bytestring, blazeBuilder, blazeTextual
, cryptohash, HUnit, postgresqlLibpq, text, time, transformers
, vector
}:
cabal.mkDerivation (self: {
pname = "postgresql-simple";
version = "0.2.4.1";
sha256 = "09yszkiahfyidaq9yfk4mda5sf1m8bcqqag51vasybln9k9hhws3";
buildDepends = [
attoparsec blazeBuilder blazeTextual postgresqlLibpq text time
transformers vector
];
testDepends = [ base16Bytestring cryptohash HUnit text time ];
meta = {
description = "Mid-Level PostgreSQL client library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})