packages feed

eros-0.3.0.0: eros.cabal

name:                eros
version:             0.3.0.0
synopsis:            A text censorship library.
description:
  A Haskell library for censoring text, using
  <http://contentfilter.futuragts.com/phraselists/ DansGuardian phraselists>.

  I converted the phraselists into JSON. You can view the converted phraselists
  <https://github.com/pharpend/eros/tree/master/res/phraselists-pretty here>.

  There exist compressed versions, for use within your code. You can see the
  compressed versions
  <https://github.com/pharpend/eros/tree/master/res/phraselists-ugly here>.

  The library is not very well tested (or really, tested at all), so I wouldn't
  recommend using it for anything important just quite yet. I'm quickly working
  towards a stable version, though!

  I recommend looking at the API documentation for Text.Eros if you want an idea
  of how to use the library.
-- homepage:            https://eros.valkyrian.com/
license:             BSD3
license-file:        LICENSE
author:              Peter Harpending
maintainer:          Peter Harpending <pharpend2@gmail.com>
copyright:           2014, Peter Harpending.
category:            Text
build-type:          Simple
data-files:
  res/schemata/*.json
  res/phraselists-ugly/*.json
cabal-version:       >=1.10
extra-source-files:
  README.md
  res/erosc-dummy-inputs/*.json
  res/schemata/*.json
  res/phraselists-pretty/*.json

library
  exposed-modules:
      Text.Eros
  other-modules:       
      Paths_eros
    , Text.Eros.Message
    , Text.Eros.Phrase
    , Text.Eros.Phraselist
  other-extensions:
      FlexibleInstances
    , OverloadedStrings
  build-depends:
      aeson
    , base >=4.7 && <4.8
    , bytestring
    , containers
    , text
  hs-source-dirs:      src/library/
  default-language:    Haskell2010

Test-Suite test-eros
  type: exitcode-stdio-1.0
  hs-source-dirs: test/
  main-is: Main.hs
  other-modules:
    TextErosPhrase
  build-depends:
      base
    , containers
    , eros
    , QuickCheck
    , text
  default-language:    Haskell2010

executable erosc
  build-depends:
      aeson
    , aeson-pretty
    , base >=4.7 && <4.8
    , bytestring
    , containers
    , eros
    , text
  hs-source-dirs:   src/client/
  main-is:        Main.lhs
  default-language: Haskell2010
  ghc-options:      -Wall

source-repository head
  type:     git
  location: https://github.com/pharpend/eros.git
  branch:   master