packages feed

double-extra-0.1.0.0: double-extra.cabal

name:                double-extra
version:             0.1.0.0
synopsis:            Missing presentations for Double numbers (fixed, scientific etc.)
description:         Please see README.md
homepage:            https://github.com/tolysz/double-extra#readme
license:             BSD3
license-file:        LICENSE
author:              Marcin Tolysz
maintainer:          tolysz@gmail.com
copyright:           2017(c) Marcin Tolysz
category:            Library
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

Flag cassava
  Description: Build the example server
  Default:     True

Flag rawstring-qm
  Description: Build the example server
  Default:     True

library
  exposed-modules:
           Data.Double.Extra
  other-modules:
           Data.Double.Extra.Aeson
           Data.Double.Extra.Types

  build-depends:  base >= 4.7 && < 5
               ,  double-conversion == 2.0.2.0
               ,  aeson
               ,  bytestring
               ,  deepseq
  if flag(cassava)
     build-depends: cassava
     other-modules: Data.Double.Extra.Cassava
     cpp-options: -DCASSAVA

  if flag(rawstring-qm)
     build-depends: rawstring-qm, text
     other-modules: Data.Double.Extra.RawString
     cpp-options: -DRAWSTRING_QM

  default-language:    Haskell2010
  default-extensions:
    KindSignatures
    DataKinds
    DeriveGeneric
    GeneralizedNewtypeDeriving

source-repository head
  type:     git
  location: https://github.com/tolysz/double-extra