37 lines
1.5 KiB
Nix
37 lines
1.5 KiB
Nix
|
# This has been automatically generated by the script
|
||
|
# ./update.sh. This should not be changed by hand.
|
||
|
{ mkDerivation, aeson, aeson-casing, attoparsec, base, bytestring
|
||
|
, Cabal, criterion, ekg-core, fetchgit, file-embed, hashable
|
||
|
, hashtables, hasql, hasql-pool, hasql-transaction, hspec, lib
|
||
|
, mmorph, monad-control, mtl, postgresql, postgresql-binary
|
||
|
, postgresql-libpq, resource-pool, retry, scientific
|
||
|
, template-haskell, text, text-builder, time, transformers-base
|
||
|
, uuid, vector
|
||
|
}:
|
||
|
mkDerivation {
|
||
|
pname = "pg-client";
|
||
|
version = "0.1.0";
|
||
|
src = fetchgit {
|
||
|
url = "https://github.com/hasura/pg-client-hs.git";
|
||
|
sha256 = "1y79s3ai4h82szpm1j5n5ygybqr7cza9l0raxf39vgn66jhy1jd2";
|
||
|
rev = "92975d0f8f933c8d06913dc97af259253bf7fb5f";
|
||
|
fetchSubmodules = true;
|
||
|
};
|
||
|
setupHaskellDepends = [ base Cabal ];
|
||
|
libraryHaskellDepends = [
|
||
|
aeson aeson-casing attoparsec base bytestring ekg-core hashable
|
||
|
hashtables mmorph monad-control mtl postgresql-binary
|
||
|
postgresql-libpq resource-pool retry scientific template-haskell
|
||
|
text text-builder time transformers-base uuid vector
|
||
|
];
|
||
|
librarySystemDepends = [ postgresql ];
|
||
|
testHaskellDepends = [ base bytestring hspec mtl ];
|
||
|
benchmarkHaskellDepends = [
|
||
|
base bytestring criterion file-embed hashable hasql hasql-pool
|
||
|
hasql-transaction mtl postgresql-libpq text text-builder
|
||
|
];
|
||
|
homepage = "https://github.com/hasura/platform";
|
||
|
license = lib.licenses.bsd3;
|
||
|
maintainers = with lib.maintainers; [ lassulus ];
|
||
|
}
|