packages feed

text-replace-0.0.0.3: text-replace.cabal

name: text-replace
version: 0.0.0.3
category: Text, Application
synopsis: Simple text replacements from a list of search/replace pairs

description: A library and a command-line application for simple string
             replacements in text files. The search for strings to replace is
             performed left-to-right, preferring longer matches to shorter
             ones.

homepage:    https://github.com/chris-martin/text-replace
bug-reports: https://github.com/chris-martin/text-replace/issues

author:     Chris Martin <ch.martin@gmail.com>
maintainer: Chris Martin <ch.martin@gmail.com>

license: Apache-2.0
license-file: license.txt

build-type: Simple
cabal-version: >= 1.10

source-repository head
  type: git
  location: https://github.com/chris-martin/text-replace

library
  default-language: Haskell2010
  hs-source-dirs: src
  ghc-options: -Wall
  exposed-modules: Text.Replace
  build-depends:
      base       >=4.9     && <4.12
    , containers >=0.5.7.1 && <0.6

executable text-replace
  default-language: Haskell2010
  hs-source-dirs: app
  main-is: text-replace.hs
  ghc-options: -Wall
  build-depends: text-replace
    , base                 >=4.9      && <4.12
    , parsec               >=3.1      && <3.2
    , optparse-applicative >=0.12.1.0 && <0.15

test-suite properties
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  main-is: properties.hs
  hs-source-dirs: test
  ghc-options: -Wall -threaded
  build-depends: text-replace
    , base               >=4.9     && <4.12
    , hedgehog           >=0.5     && <0.7
    , neat-interpolation >=0.3     && <0.3.3
    , text               >=1.2.2.2 && <1.2.4