packages feed

simple-config-1.2.2.1: simple-config.cabal

Name:                simple-config
Version:             1.2.2.1
Synopsis:            Simple config file parser generator
Description:         Simple config file parser generator
Homepage:            https://github.com/yunomu/simple-config
License:             BSD3
License-file:        LICENSE
Author:              YusukeNomura
Maintainer:          yunomu@gmail.com
-- Copyright:           
Category:            Text
Build-type:          Simple
Cabal-version:       >=1.8

flag network-uri
  description: Get Network.URI from the network-uri package
  default: True

Library
  Exposed-modules:   Text.Config
  Ghc-options:       -Wall
                     -fno-warn-unused-do-bind
  Build-depends:     base >= 4 && < 5
                   , parsec
                   , bytestring
                   , transformers
                   , data-default
                   , template-haskell
  if flag(network-uri)
    Build-depends:   network-uri >= 2.6
  else
    Build-depends:   network < 2.6


  Other-modules:     Text.Config.TH
                   , Text.Config.Lib
                   , Text.Config.Parser
                   , Text.Config.Types

Source-repository head
  Type:            git
  Location:        git://github.com/yunomu/simple-config.git

test-suite spec
  type:            exitcode-stdio-1.0
  hs-source-dirs:  test
  ghc-options:     -Wall
  main-is:         Spec.hs
  build-depends:   base >= 4 && < 5
                 , hspec