summaryrefslogtreecommitdiff
path: root/utils/iserv/iserv.cabal
blob: 4d1a6b61b1156fc62c40425dc7b488d1dfabf749 (plain)
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
Name: iserv
Version: 8.5
Copyright: XXX
License: BSD3
-- XXX License-File: LICENSE
Author: XXX
Maintainer: XXX
Synopsis: iserv allows GHC to delegate Tempalte Haskell computations
Description:
  GHC can be provided with a path to the iserv binary with
  @-pgmi=/path/to/iserv-bin@, and will in combination with
  @-fexternal-interpreter@, compile Template Haskell though the
  @iserv-bin@ delegate. This is very similar to how ghcjs has been
  compiling Template Haskell, by spawning a separate delegate (so
  called runner on the javascript vm) and evaluating the splices
  there.
  .
  To use iserv with cross compilers, please see @libraries/libiserv@
  and @utils/iserv-proxy@.

Category: Development
build-type: Simple
cabal-version: >=1.10

Executable iserv
    Default-Language: Haskell2010
    ghc-options: -no-hs-main
    Main-Is: Main.hs
    C-Sources: cbits/iservmain.c
    Hs-Source-Dirs: src
    include-dirs: .
    Build-Depends: array      >= 0.5 && < 0.6,
                   base       >= 4   && < 5,
                   binary     >= 0.7 && < 0.9,
                   bytestring >= 0.10 && < 0.11,
                   containers >= 0.5 && < 0.6,
                   deepseq    >= 1.4 && < 1.5,
                   ghci       == 8.5.*,
                   libiserv   == 8.5

    if os(windows)
        Cpp-Options: -DWINDOWS
    else
        Build-Depends: unix   >= 2.7 && < 2.8