-
Notifications
You must be signed in to change notification settings - Fork 220
Expand file tree
/
Copy pathdhall-openapi.cabal
More file actions
88 lines (85 loc) · 2.88 KB
/
dhall-openapi.cabal
File metadata and controls
88 lines (85 loc) · 2.88 KB
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
Cabal-Version: 1.11
Name: dhall-openapi
Version: 1.0.6
Homepage: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-openapi#dhall-openapi
Author: Fabrizio Ferrai
Maintainer: GenuineGabriella@gmail.com
Copyright: 2019 Fabrizio Ferrai
License: BSD3
License-File: LICENSE
Build-Type: Simple
Category: Compiler
Synopsis: Convert an OpenAPI specification to a Dhall package
Description:
This package provides an `openapi-to-dhall` program that converts an
OpenAPI specification to a Dhall package containing types, defaults, and
schemas for that API.
Source-Repository head
Type: git
Location: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-openapi
Executable openapi-to-dhall
Main-Is: Main.hs
Hs-Source-Dirs:
openapi-to-dhall
Default-Extensions:
DuplicateRecordFields
GeneralizedNewtypeDeriving
LambdaCase
RecordWildCards
ScopedTypeVariables
OverloadedStrings
FlexibleInstances
ConstraintKinds
ApplicativeDo
TupleSections
Ghc-Options: -Wall
Build-Depends:
base ,
aeson ,
containers ,
directory >= 1.3.0.0 && < 1.4 ,
dhall ,
dhall-openapi ,
filepath >= 1.4 && < 1.5 ,
-- megaparsec follows SemVer: https://github.com/mrkkrp/megaparsec/issues/469#issuecomment-927918469
megaparsec >= 7.0 && < 10 ,
optparse-applicative >= 0.14.3.0 && < 0.19 ,
parser-combinators ,
prettyprinter ,
sort ,
text ,
vector
Default-Language: Haskell2010
Library
Exposed-Modules:
Dhall.Kubernetes.Convert
Dhall.Kubernetes.Data
Dhall.Kubernetes.Types
Hs-Source-Dirs:
src
Default-Extensions:
DeriveDataTypeable
DeriveGeneric
DerivingStrategies
DuplicateRecordFields
GeneralizedNewtypeDeriving
LambdaCase
RecordWildCards
ScopedTypeVariables
OverloadedStrings
FlexibleInstances
ConstraintKinds
ApplicativeDo
TupleSections
Ghc-Options: -Wall
Build-Depends:
base >= 4.11.0.0 && < 5 ,
aeson >= 1.0.0.0 && < 2.2 ,
containers >= 0.5.8.0 && < 0.7 ,
dhall >= 1.38.0 && < 1.43 ,
prettyprinter >= 1.7.0 && < 1.8 ,
scientific >= 0.3.0.0 && < 0.4 ,
sort >= 1.0 && < 1.1 ,
text >= 0.11.1.0 && < 2.1 ,
vector >= 0.11.0.0 && < 0.14
Default-Language: Haskell2010