mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
72 lines
3.3 KiB
Nix
72 lines
3.3 KiB
Nix
{ mkDerivation, aeson, aeson-casing, ansi-wl-pprint, asn1-encoding
|
|
, asn1-types, async, attoparsec, attoparsec-iso8601, auto-update
|
|
, base, base64-bytestring, byteorder, bytestring, case-insensitive
|
|
, ci-info, containers, criterion, cryptonite, data-has, deepseq
|
|
, dependent-map, dependent-sum, directory, ekg-core, ekg-json
|
|
, fast-logger, fetchgit, file-embed, filepath, generic-arbitrary
|
|
, ghc-heap-view, graphql-parser, hashable, hspec, hspec-core
|
|
, hspec-expectations-lifted, http-client, http-client-tls
|
|
, http-types, immortal, insert-ordered-containers, jose, lens
|
|
, lifted-async, lifted-base, list-t, mime-types, monad-control
|
|
, monad-time, monad-validate, mtl, mustache, mwc-probability
|
|
, mwc-random, natural-transformation, network, network-uri
|
|
, optparse-applicative, pem, pg-client, postgresql-binary
|
|
, postgresql-libpq, process, profunctors, psqueues, QuickCheck
|
|
, regex-tdfa, safe, scientific, semver, shakespeare, split
|
|
, Spock-core, stdenv, stm, stm-containers, template-haskell, text
|
|
, text-builder, text-conversions, th-lift-instances, these, time
|
|
, transformers, transformers-base, unix, unordered-containers
|
|
, uri-encode, uuid, vector, wai, wai-websockets, warp, websockets
|
|
, wreq, x509, yaml, zlib
|
|
}:
|
|
mkDerivation {
|
|
pname = "graphql-engine";
|
|
version = "1.0.0";
|
|
src = fetchgit {
|
|
url = "https://github.com/hasura/graphql-engine.git";
|
|
sha256 = "0hg44zl3gqa8lq7kggwgmgbsgdc7zrv5cxs507vilg11xklsbz4l";
|
|
rev = "27b0b59361cebecd074bd59123f602e7b013bac1";
|
|
fetchSubmodules = true;
|
|
};
|
|
postUnpack = "sourceRoot+=/server; echo source root reset to $sourceRoot";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
aeson aeson-casing ansi-wl-pprint asn1-encoding asn1-types async
|
|
attoparsec attoparsec-iso8601 auto-update base base64-bytestring
|
|
byteorder bytestring case-insensitive ci-info containers cryptonite
|
|
data-has deepseq dependent-map dependent-sum directory ekg-core
|
|
ekg-json fast-logger file-embed filepath generic-arbitrary
|
|
ghc-heap-view graphql-parser hashable http-client http-client-tls
|
|
http-types immortal insert-ordered-containers jose lens
|
|
lifted-async lifted-base list-t mime-types monad-control monad-time
|
|
monad-validate mtl mustache network network-uri
|
|
optparse-applicative pem pg-client postgresql-binary
|
|
postgresql-libpq process profunctors psqueues QuickCheck regex-tdfa
|
|
scientific semver shakespeare split Spock-core stm stm-containers
|
|
template-haskell text text-builder text-conversions
|
|
th-lift-instances these time transformers transformers-base unix
|
|
unordered-containers uri-encode uuid vector wai wai-websockets warp
|
|
websockets wreq x509 yaml zlib
|
|
];
|
|
executableHaskellDepends = [
|
|
base bytestring pg-client text text-conversions
|
|
];
|
|
testHaskellDepends = [
|
|
aeson base bytestring hspec hspec-core hspec-expectations-lifted
|
|
http-client http-client-tls lifted-base monad-control mtl
|
|
natural-transformation optparse-applicative pg-client process
|
|
QuickCheck safe split text time transformers-base
|
|
unordered-containers
|
|
];
|
|
benchmarkHaskellDepends = [
|
|
async base bytestring criterion deepseq mwc-probability mwc-random
|
|
split text vector
|
|
];
|
|
doCheck = false;
|
|
homepage = "https://www.hasura.io";
|
|
description = "GraphQL API over Postgres";
|
|
license = stdenv.lib.licenses.asl20;
|
|
maintainers = with stdenv.lib.maintainers; [ offline ];
|
|
}
|