forked from bos/configurator
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfigurator-ng.cabal
111 lines (100 loc) · 3.1 KB
/
configurator-ng.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
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
102
103
104
105
106
107
108
109
110
111
name: configurator-ng
version: 0.0.0.1
license: BSD3
license-file: LICENSE
category: Configuration, Data
copyright: Copyright 2011 MailRank, Inc.
Copyright 2011-2014 Bryan O'Sullivan
Copyright 2015-2016 Leon P Smith
author: Bryan O'Sullivan, Leon P Smith
maintainer: Leon P Smith <[email protected]>
stability: experimental
-- tested-with: GHC == 7.0, GHC == 7.2, GHC == 7.4, GHC == 7.6, GHC == 7.8
synopsis: The next generation of configuration management
cabal-version: >= 1.8
homepage: http://github.com/lpsmith/configurator-ng
bug-reports: http://github.com/lpsmith/configurator-ng/issues
build-type: Simple
description:
A configuration management library for programs and daemons.
.
Features include:
.
* A simple, but flexible, configuration language, supporting several
of the most commonly needed types of data, along with
interpolation of strings from the configuration or the system
environment (e.g. @$(HOME)@).
.
* An @import@ directive allows the configuration of a complex
application to be split across several smaller files, or common
configuration data to be shared across several applications.
.
* An expressive applicative/monadic high-level parsing interface
to gracefully scale to more complicated configuration needs, with
powerful diagnostic messaging mechanism.
.
For details of the configuration file format, see
<http://hackage.haskell.org/packages/archive/configurator/latest/doc/html/Data-Configurator.html>.
extra-source-files:
CHANGELOG.markdown
README.markdown
data-files: tests/resources/*.cfg
flag developer
description: operate in developer mode
default: False
manual: True
library
exposed-modules:
Data.Configurator
Data.Configurator.Config
Data.Configurator.Config.Internal
Data.Configurator.FromValue
Data.Configurator.FromValue.Internal
Data.Configurator.Parser
Data.Configurator.Parser.Internal
Data.Configurator.Types
other-modules:
Data.Configurator.Config.Implementation
Data.Configurator.Parser.Implementation
Data.Configurator.FromValue.Implementation
Data.Configurator.Syntax
Data.Configurator.Types.Internal
build-depends:
attoparsec >= 0.11.3.0,
base == 4.*,
bytestring,
critbit,
dlist,
directory,
data-ordlist,
fail,
hashable,
scientific,
text >= 0.11.1.0,
unix-compat,
unordered-containers
if flag(developer)
ghc-options: -Werror
ghc-prof-options: -auto-all
ghc-options: -Wall -fno-warn-name-shadowing
source-repository head
type: git
location: http://github.com/bos/configurator
source-repository head
type: mercurial
location: http://bitbucket.org/bos/configurator
test-suite tests
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: tests
build-depends:
HUnit,
base,
bytestring,
configurator-ng,
directory,
filepath,
test-framework,
test-framework-hunit,
text
ghc-options: -Wall -fno-warn-unused-do-bind