packages feed

interp-1.0.0.0: interp.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.1.
--
-- see: https://github.com/sol/hpack
--
-- hash: 2c5ae1e8028bb10c6d701cd2ccc86981da63658513595f95c99c55d09c26074e

name:           interp
version:        1.0.0.0
synopsis:       Tracery-like randomized text interpolation
description:    Please see the README on GitHub at <https://github.com/swizzard/interp#readme>
category:       Text, Interpolation
homepage:       https://github.com/swizzard/interp#readme
bug-reports:    https://github.com/swizzard/interp/issues
author:         sam raker
maintainer:     sam.raker@gmail.com
copyright:      (c) 2019 sam raker
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/swizzard/interp

library
  exposed-modules:
      Data.Text.Interp
      Data.Text.Interp.CLI
      Data.Text.Interp.Get
      Data.Text.Interp.Interpolate
      Data.Text.Interp.Parse
      Data.Text.Interp.Types
  other-modules:
      Paths_interp
  hs-source-dirs:
      src
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , hspec
    , megaparsec
    , mtl
    , optparse-applicative
    , parser-combinators
    , random-fu
    , rvar
    , semigroups
    , text
    , transformers
    , unordered-containers
    , vector
  default-language: Haskell2010

executable interp
  main-is: Main.hs
  other-modules:
      Paths_interp
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , hspec
    , interp
    , megaparsec
    , mtl
    , optparse-applicative
    , parser-combinators
    , random-fu
    , rvar
    , semigroups
    , text
    , transformers
    , unordered-containers
    , vector
  default-language: Haskell2010

test-suite interp-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      GetSpec
      InterpolateSpec
      ParseSpec
      Paths_interp
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , containers
    , hspec
    , interp
    , megaparsec
    , mtl
    , optparse-applicative
    , parser-combinators
    , random-fu
    , rvar
    , semigroups
    , text
    , transformers
    , unordered-containers
    , vector
  default-language: Haskell2010