packages feed

eros-0.0.0.0: eros.cabal

name:                eros
version:             0.0.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>.

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/phraselist-schema.json
  res/phraselists-ugly/chat.json
  res/phraselists-ugly/conspiracy.json
  res/phraselists-ugly/drug-advocacy.json
  res/phraselists-ugly/forums.json
  res/phraselists-ugly/gambling.json
  res/phraselists-ugly/games.json
  res/phraselists-ugly/gore.json
  res/phraselists-ugly/id-theft.json
  res/phraselists-ugly/illegal-drugs.json
  res/phraselists-ugly/intolerance.json
  res/phraselists-ugly/legal-drugs.json
  res/phraselists-ugly/malware.json
  res/phraselists-ugly/music.json
  res/phraselists-ugly/news.json
  res/phraselists-ugly/nudism.json
  res/phraselists-ugly/peer2peer.json
  res/phraselists-ugly/personals.json
  res/phraselists-ugly/pornography.json
  res/phraselists-ugly/proxies.json
  res/phraselists-ugly/secret-societies.json
  res/phraselists-ugly/self-labeling.json
  res/phraselists-ugly/sport.json
  res/phraselists-ugly/translation.json
  res/phraselists-ugly/upstream-filter.json
  res/phraselists-ugly/violence.json
  res/phraselists-ugly/warez-hacking.json
  res/phraselists-ugly/weapons.json
  res/phraselists-ugly/webmail.json
  
cabal-version:       >=1.10

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

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

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