packages feed

MicrosoftTranslator-0.1.0.1: MicrosoftTranslator.cabal

-- Initial BingTranslate.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                MicrosoftTranslator
version:             0.1.0.1
synopsis:            Interface for Microsoft Translator
description:
  A simple library to use <https://www.microsoft.com/en-us/translator/default.aspx Microsoft Translator> in Haskell.
  It provides an easy to use interface to the free translation service from
  Microsoft so one can easily add language translation to a Haskell program
  as long as there is internet connection available.
  .  
  The easiest way to use the program is via the toplevel translate function:
  .
  > translate :: ClientId -> ClientSecret -> Text -> BingLanguage -> BingLanguage -> IO (Either BingError Text)
  .
  To use this library one must have an account for Microsoft Translator in the
  Azure Data Market. More information about this package available 
  <https://github.com/netogallo/Microsoft-Translator-Haskell here>.

license:             BSD3
license-file:        LICENSE
author:              Ernesto Rodriguez
maintainer:          neto@netowork.me
-- copyright:           
category:            Language
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10
source-repository head
  type: git
  location: https://github.com/netogallo/Microsoft-Translator-Haskell.git

library
  exposed-modules:     Language.Bing
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base >=4.8 && <4.9
                     , wreq >= 0.4.0.0
                     , bytestring >= 0.10.0
                     , exceptions >= 0.8.0
                     , lens >= 4.12.0
                     , transformers >= 0.4.3.0
                     , http-client >= 0.4.16
                     , aeson >= 0.9.0
                     , datetime >= 0.2.1
                     , text >= 1.2.0
                     , url >= 2.1.0
                     , xml >= 1.3.0
  hs-source-dirs:      src
  default-language:    Haskell2010