cabal-version: 2.2 name: themoviedb version: 1.2.1 synopsis: Haskell API bindings for http://themoviedb.org homepage: https://github.com/pjones/themoviedb bug-reports: https://github.com/pjones/themoviedb/issues license: MIT license-file: LICENSE author: Peter Jones maintainer: Peter Jones copyright: Copyright: (c) 2012-2021 Peter Jones category: Network, API stability: stable build-type: Simple tested-with: GHC ==8.8.4 || ==8.10.4 || ==9.0.1 description: This library provides functions for retrieving metadata from the API. Documentation can be found in the "Network.API.TheMovieDB" module. -------------------------------------------------------------------------------- extra-source-files: CHANGES.md README.md test/*.json -------------------------------------------------------------------------------- source-repository head type: git location: https://github.com/pjones/themoviedb.git -------------------------------------------------------------------------------- flag maintainer description: Enable settings for the package maintainer. manual: True default: False -------------------------------------------------------------------------------- common options default-language: Haskell2010 ghc-options: -Wall -Wno-name-shadowing -Werror=incomplete-record-updates -Werror=incomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wmissing-export-lists -Wredundant-constraints if flag(maintainer) ghc-options: -Werror -------------------------------------------------------------------------------- common extensions default-extensions: DeriveAnyClass DeriveGeneric DerivingStrategies GeneralizedNewtypeDeriving LambdaCase MultiParamTypeClasses OverloadedStrings RecordWildCards ScopedTypeVariables TupleSections -------------------------------------------------------------------------------- common dependencies build-depends: , aeson >=1.0 && <1.6 , base >=4.6 && <5.0 , http-client >=0.4.31 && <0.8 , http-client-tls >=0.2.2 && <0.4 , http-types >=0.8 && <0.13 , mtl >=2.1 && <2.3 , relude ^>=1.0 , text >=0.11 && <1.3 , time >=1.5 && <1.12 mixins: base hiding (Prelude), relude (Relude as Prelude) -------------------------------------------------------------------------------- library import: options, extensions, dependencies hs-source-dirs: src 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.Settings 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 -------------------------------------------------------------------------------- executable tmdb import: options, extensions, dependencies hs-source-dirs: example main-is: Main.hs build-depends: themoviedb -------------------------------------------------------------------------------- test-suite test import: options, extensions, dependencies type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs other-modules: MovieTest TestHelper TVTest build-depends: , tasty >=0.10 && <1.5 , tasty-hunit >=0.9 && <0.11 , themoviedb