packages feed

wordchoice-0.1.2.9: wordchoice.cabal

cabal-version:      >=1.10
name:               wordchoice
version:            0.1.2.9
license:            BSD3
license-file:       LICENSE
copyright:          2017-2018, 2021 Vanessa McHale
maintainer:         vamchale@gmail.com
author:             Vanessa McHale
synopsis:           Get word counts and distributions
description:
    A command line tool to compute the word distribution from various types of document, converting to text with pandoc.

category:           Web
build-type:         Simple
extra-source-files:
    README.md
    cabal.project.local

source-repository head
    type:     darcs
    location: https://hub.darcs.net/vmchale/wordchoice

library
    exposed-modules:    Data.Text.WordCount
    hs-source-dirs:     src
    other-modules:      Data.Text.WordCount.FileRead
    default-language:   Haskell2010
    default-extensions: OverloadedStrings
    ghc-options:        -Wall
    build-depends:
        base >=4.11 && <5,
        pandoc >=2.10,
        containers,
        Glob,
        bytestring,
        binary,
        text,
        directory,
        composition-prelude,
        Chart,
        bytestring,
        system-filepath,
        Chart-diagrams,
        lens,
        transformers

executable wrd
    main-is:          Main.hs
    hs-source-dirs:   app
    other-modules:    Paths_wordchoice
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base,
        optparse-applicative,
        directory,
        bytestring,
        binary,
        containers,
        lens,
        text,
        wordchoice

test-suite wordchoice-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall
    build-depends:
        base,
        wordchoice

benchmark wordchoice-bench
    type:             exitcode-stdio-1.0
    main-is:          Bench.hs
    hs-source-dirs:   bench
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base,
        criterion,
        text,
        wordchoice,
        pandoc