-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjsonapi-typed.cabal
60 lines (55 loc) · 1.91 KB
/
jsonapi-typed.cabal
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
-- Initial jsonapi-typed.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: jsonapi-typed
version: 0.1.0.0
synopsis: Type-level combinators for JSON API spec
description: Type-level combinators for JSON API,
check the examples folder for complete example of usage.
homepage: https://github.com/sopvop/jsonapi-typed
license: BSD3
license-file: LICENSE
author: Leonid Onokhov
maintainer: [email protected]
copyright: (c) Leonid Onokhov 2016
category: Network
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: [email protected]:sopvop/jsonapi-typed.git
flag examples
description: Build example executables
default: False
library
exposed-modules:
JsonApi.Api
JsonApi.Document
JsonApi.Relationships
JsonApi.Internal.Api
JsonApi.Internal.Document
JsonApi.Internal.Resource
JsonApi.Internal.Relationships
build-depends: aeson >= 0.11 && < 0.12
, base >= 4.8 && < 4.10
, hashable >= 1.2.4.0 && < 1.3
, text >= 1.2.2.1 && < 1.3
, unordered-containers >= 0.2.7 && < 0.3
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
executable jsonapi-books-example
main-is: Books.hs
hs-source-dirs: examples
if flag(examples)
build-depends: base
, aeson
, bytestring >= 0.10.6 && < 0.11
, hashable
, jsonapi-typed
, text
, transformers >= 0.4.2 && < 0.6
, unordered-containers
else
buildable: False
default-language: Haskell2010
ghc-options: -Wall