summary refs log tree commit diff
path: root/pkgs/development/misc/haskell/hasura/graphql-engine/default.nix
blob: 3cf840c15e15fc0dd40aa65259eedd5c314e7896 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{ 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, lib, 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, witherable, semialign, validation, cron
}:
mkDerivation {
  pname = "graphql-engine";
  version = "1.0.0";
  src = fetchgit {
    url = "https://github.com/hasura/graphql-engine.git";
    sha256 = "sha256-tNKoi3dtoXj0nn4qBgLBroo7SgX7SdVaHtBqjs1S3hQ=";
    rev = "1e3eb035d3c915032ba23e502bcb0132b4d54202";
    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
    witherable semialign validation
    cron
  ];
  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 = lib.licenses.asl20;
  maintainers = with lib.maintainers; [ offline ];
  hydraPlatforms = [];
  broken = true;
}