packages feed

configurator-ng-0.0.0.1: configurator-ng.cabal

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 <leon@melding-monads.com>
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