packages feed

hedn-0.1.3.0: hedn.cabal

-- Initial hedn.cabal generated by cabal init.  For further documentation, 
-- see http://haskell.org/cabal/users-guide/

name:                hedn
version:             0.1.3.0
synopsis:            EDN parsing and encoding
homepage:            https://bitbucket.org/dpwiz/hedn
license:             BSD3
license-file:        LICENSE
author:              Alexander Bondarenko
maintainer:          aenor.realm@gmail.com
copyright:           (c) 2012 Alexander Bondarenko
category:            Data
build-type:          Simple
cabal-version:       >=1.8
description:
    A EDN parsing and encoding library inspired by Data.Aeson.
    .
    Based on specs published at <https://github.com/edn-format/edn>.

extra-source-files:
  tests/TestParser.hs
  tests/TestEncoder.hs

flag developer
  description: operate in developer mode
  default: False

library
  exposed-modules:     Data.EDN, Data.EDN.Types, Data.EDN.Parser, Data.EDN.Encode
  hs-source-dirs:      src/
  build-depends:       base ==4.5.*, attoparsec, text, bytestring, containers, vector, stringsearch

  if flag(developer)
    ghc-options: -Werror
    ghc-prof-options: -auto-all

  ghc-options: -O2 -Wall -fno-warn-unused-do-bind


Test-Suite test-parser
  type:              exitcode-stdio-1.0
  main-is:           TestParser.hs
  hs-source-dirs:    tests/
  build-depends:     base, hedn, attoparsec, bytestring, ansi-terminal
  ghc-options:       -Wall

Test-Suite test-encoder
  type:              exitcode-stdio-1.0
  main-is:           TestEncoder.hs
  hs-source-dirs:    tests/
  build-depends:     base, hedn, attoparsec, bytestring, ansi-terminal

source-repository head
  type:     mercurial
  location: https://bitbucket.org/dpwiz/hedn