packages feed

mmark-ext-0.0.1.2: mmark-ext.cabal

name:                 mmark-ext
version:              0.0.1.2
cabal-version:        >= 1.18
tested-with:          GHC==7.10.3, GHC==8.0.2, GHC==8.2.2
license:              BSD3
license-file:         LICENSE.md
author:               Mark Karpov <markkarpov92@gmail.com>
maintainer:           Mark Karpov <markkarpov92@gmail.com>
homepage:             https://github.com/mrkkrp/mmark-ext
bug-reports:          https://github.com/mrkkrp/mmark-ext/issues
category:             Text
synopsis:             Commonly useful extensions for MMark markdown processor
build-type:           Simple
description:          Commonly useful extensions for MMark markdown processor.
extra-doc-files:      CHANGELOG.md
                    , README.md
data-files:           data/*.md
                    , data/*.html

source-repository head
  type:               git
  location:           https://github.com/mrkkrp/mmark-ext.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  build-depends:      base             >= 4.8   && < 5.0
                    , data-default-class
                    , foldl            >= 1.2   && < 1.4
                    , lucid            >= 2.6   && < 3.0
                    , microlens        >= 0.4   && < 0.5
                    , mmark            >= 0.0.2 && <= 0.1
                    , modern-uri       >= 0.1.1 && < 0.3
                    , text             >= 0.2   && < 1.3
  if !impl(ghc >= 8.0)
    build-depends:    semigroups       == 0.18.*
  exposed-modules:    Text.MMark.Extension.Common
  if flag(dev)
    ghc-options:      -O0 -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

test-suite tests
  main-is:            Spec.hs
  hs-source-dirs:     tests
  type:               exitcode-stdio-1.0
  build-depends:      base             >= 4.8   && < 5.0
                    , data-default-class
                    , hspec            >= 2.0   && < 3.0
                    , lucid            >= 2.6   && < 3.0
                    , mmark            >= 0.0.2 && <= 0.1
                    , mmark-ext
                    , text             >= 0.2   && < 1.3
  if flag(dev)
    ghc-options:      -O0 -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  other-modules:      Text.MMark.Extension.CommonSpec
  default-language:   Haskell2010