packages feed

configifier-0.1.1: configifier.cabal

name:                configifier
version:             0.1.1
synopsis:            parser for config files, shell variables, command line args.
description:         See <https://github.com/zerobuzz/configifier/blob/master/README.md README>
license:             AGPL-3
license-file:        LICENSE
author:              Matthias Fischmann <mf@zerobuzz.net>, Andres Löh <andres@well-typed.com>
maintainer:          Matthias Fischmann <mf@zerobuzz.net>
copyright:           zerobuzz.net
category:            Configuration, Data
build-type:          Simple
cabal-version:       >=1.10

Source-Repository head
  type: git
  location: https://github.com/zerobuzz/configifier

flag profiling
  default: False

flag with-example
  default: False

library
  hs-source-dirs:
      src
  default-language:
      Haskell2010
  ghc-options:
      -Wall
  exposed-modules:
      Data.Configifier
  build-depends:
      base >=4.7 && <5

    , bytestring >=0.10 && <0.11
    , case-insensitive >=1.2 && <1.3
    , containers >=0.5 && <0.6
    , directory >=1.2 && <1.3
    , either >=4.3 && <4.5
    , functor-infix >=0.0.3 && <0.1
    , mtl >=2.1 && <2.3
    , safe >=0.3 && <0.4
    , string-conversions >=0.3 && <0.5
    , template-haskell >=2.10 && <2.11
    , unordered-containers >=0.2 && <0.3
    , vector >=0.10 && <0.12
    , yaml >=0.8 && <0.9

executable configifier-example
  if flag(with-example)
    Buildable: True
  else
    Buildable: False

  default-language:
      Haskell2010
  hs-source-dirs:
      examples
  main-is:
      Main.hs
  other-modules:
  ghc-options:
      -Wall -threaded -rtsopts
  if flag(profiling)
      ghc-options:
          -auto-all -caf-all -fforce-recomp
  build-depends:
      base
    , configifier

    , bytestring >=0.10 && <0.11
    , mtl >=2.1 && <2.3
    , pretty-show >=1.6.8 && <1.7
    , string-conversions >=0.3.0.3 && <0.5
    , text >=1.2 && <1.3
    , yaml >=0.8 && <0.9

test-suite tests
  default-language:
      Haskell2010
  type:
      exitcode-stdio-1.0
  hs-source-dirs:
      tests
  main-is:
      Spec.hs
  other-modules:
      Data.ConfigifierSpec
    , Spec
    , Test.Arbitrary
  ghc-options:
      -Wall -threaded -rtsopts
  cpp-options:
      -DGHC_GENERICS
  build-depends:
      base
    , configifier

    , aeson >= 0.8.0.2 && < 0.9
    , aeson-pretty >= 0.7.2 && < 0.8
    , case-insensitive >= 1.2.0.3 && < 1.3
    , hspec >= 2.1.3 && < 2.2
    , hspec-discover >= 2.1.3 && < 2.2
    , mtl >=2.1 && <2.3
    , pretty-show >= 1.6.8 && < 1.7
    , QuickCheck >= 2.7.6 && < 2.9
    , scientific >= 0.3.3.5 && < 0.4
    , string-conversions >= 0.3.0.3 && < 0.5
    , unordered-containers >= 0.2.5.1 && < 0.3
    , vector >= 0.10.12.2 && < 0.11