packages feed

themoviedb-1.1.3.0: themoviedb.cabal

--------------------------------------------------------------------------------
name:          themoviedb
version:       1.1.3.0
synopsis:      Haskell API bindings for http://themoviedb.org
homepage:      http://github.com/pjones/themoviedb
bug-reports:   http://github.com/pjones/themoviedb/issues
license:       MIT
license-file:  LICENSE
author:        Peter Jones <pjones@devalot.com>
maintainer:    Peter Jones <pjones@devalot.com>
copyright:     Copyright: (c) 2012-2017 Peter Jones
category:      Network, API
stability:     experimental
tested-with:   GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1
build-type:    Simple
cabal-version: >=1.10
description:   This library provides functions for retrieving metadata
               from the <http://TheMovieDB.org> API.  Documentation
               can be found in the "Network.API.TheMovieDB" module.

--------------------------------------------------------------------------------
extra-source-files:
  CHANGES.md
  README.md
  TODO.org
  test/*.json

--------------------------------------------------------------------------------
source-repository head
  type: git
  location: git://github.com/pjones/themoviedb.git

--------------------------------------------------------------------------------
flag maintainer
  description: Enable settings for the package maintainer.
  manual: True
  default: False

--------------------------------------------------------------------------------
library
  exposed-modules:
    Network.API.TheMovieDB
    Network.API.TheMovieDB.Actions
    Network.API.TheMovieDB.Internal.Configuration
    Network.API.TheMovieDB.Internal.Date
    Network.API.TheMovieDB.Internal.HTTP
    Network.API.TheMovieDB.Internal.SearchResults
    Network.API.TheMovieDB.Internal.TheMovieDB
    Network.API.TheMovieDB.Internal.Types
    Network.API.TheMovieDB.Types.Episode
    Network.API.TheMovieDB.Types.Genre
    Network.API.TheMovieDB.Types.Movie
    Network.API.TheMovieDB.Types.Season
    Network.API.TheMovieDB.Types.TV

  default-language: Haskell2010
  hs-source-dirs: src
  ghc-options: -Wall -fwarn-incomplete-uni-patterns

  if flag(maintainer)
    ghc-options: -Werror

  build-depends: aeson              >= 0.6    && < 1.2
               , base               >= 4.6    && < 5.0
               , binary             >= 0.7    && < 0.10
               , bytestring         >= 0.9    && < 0.11
               , either             >= 4.3    && < 4.5
               , http-client        >= 0.4.31 && < 0.6
               , http-client-tls    >= 0.2.2  && < 0.4
               , http-types         >= 0.8    && < 0.10
               , mtl                >= 2.1    && < 2.3
               , text               >= 0.11   && < 1.3
               , text-binary        >= 0.1    && < 0.3
               , time               >= 1.5    && < 1.9
               , time-locale-compat >= 0.1    && < 0.2
               , transformers       >= 0.3    && < 0.6

--------------------------------------------------------------------------------
executable tmdb
  default-language: Haskell2010
  hs-source-dirs: example
  main-is: Main.hs

  ghc-options: -Wall -fwarn-incomplete-uni-patterns

  if flag(maintainer)
    ghc-options: -Werror
    ghc-prof-options: -auto-all

  build-depends: base
               , text
               , themoviedb
               , time
               , time-locale-compat
               , transformers

--------------------------------------------------------------------------------
test-suite test
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs: test
  main-is: Main.hs
  other-modules: TestHelper MovieTest TVTest

  ghc-options: -Wall -fwarn-incomplete-uni-patterns

  if flag(maintainer)
    ghc-options: -Werror

  build-depends: base
               , bytestring
               , tasty       >= 0.10 && < 0.12
               , tasty-hunit >= 0.9  && < 0.10
               , text
               , themoviedb
               , time