packages feed

sphinx-0.5.0: sphinx.cabal

Name:            sphinx
Version:         0.5.0
Synopsis:        Haskell bindings to the Sphinx full-text searching deamon.
Description:     Haskell bindings to the Sphinx full-text searching deamon. Compatible with sphinx version 1.1
Category:        Text, Search, Database
License:         BSD3
License-file:    LICENSE
Author:          Chris Eidhof <ce+sphinx@tupil.com>, Greg Weber
Maintainer:      Greg Weber <greg@gregweber.info>
homepage:        https://github.com/gregwebs/haskell-sphinx-client

cabal-version:   >= 1.2
Build-Type:      Simple

Flag version-1-1-beta
  Description: By default this library is compatible with version 1.10 beta of sphinx
               you could try it without the flag on version 2, but should use this flag.
  Default: False

library
  Exposed-Modules: Text.Search.Sphinx,
                   Text.Search.Sphinx.Types,
                   Text.Search.Sphinx.Configuration, Text.Search.Sphinx.ExcerptConfiguration, 
                   Text.Search.Sphinx.Indexable

  Other-Modules:   Text.Search.Sphinx.Get, Text.Search.Sphinx.Put


  Build-Depends:   base >= 4 && < 5,
                   binary, data-binary-ieee754,
                   bytestring, network,
                   xml, utf8-string >= 0.3

  if flag(version-1-1-beta)
    cpp-options:   -DONE_ONE_BETA