packages feed

celtchar-0.1.4.0: celtchar.cabal

name:                celtchar
version:             0.1.4.0
synopsis:            A tool to build a novel
description:         celtchar is a tool to build a novel. It is part
                     of the Ogma project and mostly relies on the
                     ogmarkup language.
homepage:            https://nest.pijul.com/lthms/celtchar
license:             MIT
license-file:        LICENSE
author:              Thomas Letan
maintainer:          contact@thomasletan.fr
copyright:           2016 - 2018 Thomas Letan
category:            Text
build-type:          Simple
extra-source-files:  assets/ogma.sty
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Celtchar.Metadata
                     , Celtchar.Novel
                     , Celtchar.Novel.Structure
                     , Celtchar.Novel.Ogmarkup
  build-depends:       base                 >= 4.7 && < 5
                     , filepath             >= 1.4 && < 1.5
                     , megaparsec           >= 6   && < 7
                     , mtl                  >= 2.2 && < 2.3
                     , ogmarkup             >= 5   && < 6
                     , pandoc               >= 2.0 && < 2.1
                     , shakespeare          >= 2.0 && < 2.1
                     , text                 >= 1.2 && < 1.3
                     , unordered-containers >= 0.2 && < 0.3
                     , yaml                 >= 0.8 && < 0.9
  default-language:    Haskell2010

executable celtchar
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base             >= 4.7    && < 5
                     , optparse-generic >= 1.1    && < 1.3
                     , text             >= 1.2    && < 1.3
                     , file-embed       >= 0.0.10 && < 0.1
                     , filepath         >= 1.4    && < 1.5
                     , directory        >= 1.3    && < 1.4
                     , bytestring
                     , yaml             >= 0.8 && < 0.9
                     , celtchar
  default-language:    Haskell2010

test-suite celtchar-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base             >= 4.7  && < 5
                     , raw-strings-qq   >= 1.1 && < 1.2
                     , hspec            >= 2.4 && < 2.5
                     , celtchar
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     pijul
  location: https://nest.pijul.com/lthms/celtchar