packages feed

libconfig-0.1.0.0: libconfig.cabal

name:                libconfig
version:             0.1.0.0
synopsis:            Haskell bindings to libconfig
description:
            Low-level FFI bindings to the <http://www.hyperrealm.com/libconfig/ libconfig>
            configuration file library.
            .
            This binding is very low-level at the moment, but higher-level safe
            interfaces are planned.
            .

            This library only binds to version 1.4.9 of the libconfig
            library, which is known as @libconfig9@ in Debian-like
            distributions, including Ubuntu.  It will not work with
            older versions of libconfig, including the @libconfig8@
            distributed in Ubuntu 12.04.

license:             BSD3
license-file:        LICENSE
author:              Matthew Peddie
maintainer:          mpeddie@gmail.com
copyright:           2015 Matthew Peddie <mpeddie@gmail.com>
category:            Language
build-type:          Simple
cabal-version:       >=1.10

source-repository head
  type:           git
  location:       git@github.com/peddie/libconfig-haskell

library
  exposed-modules:     Language.Libconfig
  -- other-modules:
  extra-libraries:     config
  build-depends:       base >=4.6 && <4.9
  hs-source-dirs:      src
  build-tools:         c2hs
  default-language:    Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: test
  ghc-options: -threaded -Wall -O2
  main-is: doctest.hs
  build-depends: base
               , libconfig
               , doctest >= 0.9.9
               , doctest-prop >= 0.2