packages feed

prosidy-1.6.0.2: prosidy.cabal

cabal-version:       2.4
name:                prosidy
version:             1.6.0.2
synopsis:            A simple language for writing documents.
license:             MPL-2.0
license-file:        LICENSE
author:              James Alexander Feldman-Crough
maintainer:          alex@fldcr.com
copyright:           ©2020 to James Alexander Feldman-Crough
category:            Language
data-dir:            data
data-files:          golden/**/*.pro, golden/**/*.json
extra-source-files:  CHANGELOG.md, README.pro

tested-with:
    GHC == 8.6.5
  , GHC == 8.8.1
  , GHC == 8.8.3

description:
    Prosidy is a small language for writing documents.
    More details are on its site at https://prosidy.org.

source-repository head
    type:     git
    location: https://git.fldcr.com/prosidy/prosidy

flag fatal-warnings
    description: Turns all warnings into errors. Used in CI.
    default:     False
    manual:      True

-------------------------------------------------------------------------------
library
    default-language: Haskell2010
    hs-source-dirs:   src

    ghc-options:
        -Wall
        -Wno-name-shadowing

    if flag(fatal-warnings)
        ghc-options:
            -Werror

    exposed-modules:
        Prosidy
      , Prosidy.Optics
      , Prosidy.Optics.Source
      , Prosidy.Optics.Types
      , Prosidy.Parse
      , Prosidy.Source
      , Prosidy.Types
      , Prosidy.Types.Assoc
      , Prosidy.Types.Key
      , Prosidy.Types.Set
      , Prosidy.Types.Series

    other-modules:
        Prosidy.Optics.Internal
      , Prosidy.Source.LineMap
      , Prosidy.Source.Units
      , Prosidy.Internal.Classes
      , Prosidy.Internal.JSON

    build-depends:
        base                  >= 4.11 && < 5
      , base-compat-batteries >= 0.11 && < 0.12
      , aeson                 >= 1.4  && < 1.5
      , bytestring            >= 0.10 && < 0.11
      , binary                >= 0.8  && < 0.9
      , containers            >= 0.6  && < 0.7
      , deepseq               >= 1.4  && < 1.5
      , hashable              >= 1.2  && < 1.4
      , megaparsec            >= 7.0  && < 8.1
      , prettyprinter         >= 1.6  && < 1.7
      , profunctors           >= 5.3  && < 5.6
      , tagged                >= 0.8  && < 0.9
      , text                  >= 1.2  && < 1.3
      , transformers          >= 0.5  && < 0.6
      , vector                >= 0.12 && < 0.13
      , unordered-containers  >= 0.2  && < 0.3

-------------------------------------------------------------------------------
test-suite prosidy-test
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test

    ghc-options:
        -Wall
        -Wno-name-shadowing

    main-is:
        Prosidy/Test.hs

    other-modules:
        Prosidy.Test.Source
      , Prosidy.Test.Types
      , Prosidy.Test.Parse
      , Paths_prosidy

    autogen-modules:
        Paths_prosidy

    build-depends:
        base
      , prosidy
      , aeson             >= 1.4  && < 1.5
      , aeson-pretty      >= 0.8  && < 0.9
      , aeson-diff        >= 1.1  && < 1.2
      , bytestring        >= 0.10 && < 0.11
      , containers        >= 0.6  && < 0.7
      , directory         >= 1.3  && < 1.4
      , filepath          >= 1.4  && < 1.5
      , tasty             >= 1.2  && < 1.3
      , tasty-ant-xml     >= 1.1  && < 1.2
      , tasty-golden      >= 2.3  && < 2.4
      , tasty-hunit       >= 0.10 && < 1.11
      , tasty-quickcheck  >= 0.10 && < 0.11
      , text              >= 1.2  && < 1.3