summaryrefslogtreecommitdiff
path: root/erebos.cabal
blob: 6e6fd14a7ba5479ac2702cc55362ce7d248f4000 (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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
-- Initial erebos.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                erebos
version:             0.1.0.0
-- synopsis:
-- description:
license:             BSD3
license-file:        LICENSE
author:              Roman Smrž
maintainer:          roman.smrz@seznam.cz
-- copyright:
-- category:
build-type:          Simple
extra-source-files:  CHANGELOG.md
cabal-version:       >=1.10

executable erebos
  ghc-options:         -Wall -threaded
  main-is:             Main.hs
  other-modules:       Attach
                       ICE
                       Identity,
                       Channel,
                       Contact
                       Discovery
                       Message,
                       Network,
                       Pairing
                       PubKey,
                       Service
                       Set
                       State,
                       Storage,
                       Storage.Internal
                       Storage.List
                       Storage.Key
                       Storage.Merge
                       Sync
                       Test
                       Util

  default-extensions:  DefaultSignatures
                       ExistentialQuantification
                       FlexibleContexts,
                       FlexibleInstances,
                       FunctionalDependencies,
                       GeneralizedNewtypeDeriving
                       ImportQualifiedPost
                       LambdaCase,
                       MultiWayIf,
                       RankNTypes,
                       ScopedTypeVariables,
                       StandaloneDeriving,
                       TypeOperators
                       TupleSections,
                       TypeApplications,
                       TypeFamilies
                       TypeFamilyDependencies

  other-extensions:    ForeignFunctionInterface
                       RecursiveDo
                       UndecidableInstances

  build-depends:       aeson >=1.4 && <2.1,
                       base >=4.13 && <4.17,
                       binary >=0.8 && <0.11,
                       bytestring >=0.10 && <0.12,
                       cereal >= 0.5 && <0.6,
                       clock >=0.8 && < 0.9,
                       containers >= 0.6 && <0.7,
                       cryptonite >=0.25 && <0.31,
                       deepseq >= 1.4 && <1.5,
                       directory >= 1.3 && <1.4,
                       filepath >=1.4 && <1.5,
                       hashable >=1.3 && <1.5,
                       hashtables >=1.2 && <1.4,
                       haskeline >=0.7 && <0.9,
                       hinotify >=0.4 && <0.5,
                       iproute >=1.7 && <1.8,
                       memory >=0.14 && <0.18,
                       mime >= 0.4 && < 0.5,
                       mtl >=2.2 && <2.3,
                       network >= 3.1 && <3.2,
                       stm >=2.5 && <2.6,
                       tagged >= 0.8 && <0.9,
                       text >= 1.2 && <2.1,
                       time >= 1.8 && <1.14,
                       transformers >= 0.5 && <0.7,
                       unix >=2.7 && <2.8,
                       uuid >=1.3 && <1.4,
                       zlib >=0.6 && <0.7
  hs-source-dirs:      src
  default-language:    Haskell2010
  c-sources:           src/ICE/pjproject.c
                       src/Network/ifaddrs.c
  includes:            src/ICE/pjproject.h
  include-dirs:        src/ICE
                       src
  build-tools:         c2hs
  pkgconfig-depends:   libpjproject >= 2.9