nixpkgs/pkgs/development/libraries/haskell/postgresql-simple/default.nix
Peter Simons 2399599a70 haskell-postgresql-simple: disable 'doCheck' to avoid test suite failure
Test suite test: RUNNING...
test: SqlError {sqlState = "", sqlNativeError = -1, sqlErrorMsg = "could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket \"/tmp/.s.PGSQL.5432\"?\n"}
Test suite test: FAIL
Test suite logged to: dist/test/postgresql-simple-0.2.4.1-test.log
0 of 1 test suites (0 of 1 test cases) passed.
2013-02-25 00:39:13 +01:00

23 lines
710 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 ];
doCheck = false;
meta = {
description = "Mid-Level PostgreSQL client library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})