File: ConfigFile.cabal

package info (click to toggle)
haskell-configfile 1.0.6-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 216 kB
  • sloc: haskell: 680; makefile: 32
file content (56 lines) | stat: -rw-r--r-- 1,840 bytes parent folder | download
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
Name: ConfigFile
Version: 1.0.6
License: LGPL
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Copyright: Copyright (c) 2004-2010 John Goerzen
license-file: COPYRIGHT
extra-source-files: COPYING
Category: Parsing
homepage: http://software.complete.org/configfile
synopsis: Configuration file reading & writing
Description: Parser and writer for handling sectioned config files in
 Haskell.
 .
  The ConfigFile module works with configuration files in a standard
 format that is easy for the user to edit, easy for the programmer
 to work with, yet remains powerful and flexible.  It is inspired by,
 and compatible with, Python's ConfigParser module.  It uses files
 that resemble Windows .INI-style files, but with numerous
 improvements.
 .
 ConfigFile provides simple calls to both read and write config files.
 It's possible to make a config file parsable by this module,
 the Unix shell, and make.
Stability: Stable
Build-Type: Simple
Cabal-Version: >=1.2.3

Flag buildtests
  description: Build the executable to run unit tests
  default: False

Library
  Hs-Source-Dirs: src
  Exposed-Modules: Data.ConfigFile,
    Data.ConfigFile.Types,
    Data.ConfigFile.Parser
  Other-Modules: Data.ConfigFile.Lexer
  Extensions: ExistentialQuantification, OverlappingInstances,
   UndecidableInstances, TypeSynonymInstances, FlexibleContexts,
   FlexibleInstances
  Build-Depends: parsec, base < 5,
                haskell98, mtl, MissingH>=1.0.0, containers
  GHC-Options: -O2 -Wall

Executable runtests
  if flag(buildtests)
    Buildable: True
    Build-depends: HUnit, testpack
  else
    Buildable: False
  Main-Is: runtests.hs
  HS-Source-Dirs: testsrc, src, .
  Extensions: ExistentialQuantification, OverlappingInstances,
    UndecidableInstances, CPP, TypeSynonymInstances, FlexibleContexts,
    FlexibleInstances