Browse Source

Widen dependencies and update source code to work with GHC 7.6.1

tags/v0.2.2.0
Peter J. Jones 6 years ago
parent
commit
041437dabe
3 changed files with 17 additions and 7 deletions
  1. 7
    0
      CHANGES
  2. 2
    0
      Network/API/TheMovieDB/Util.hs
  3. 8
    7
      themoviedb.cabal

+ 7
- 0
CHANGES View File

@@ -0,0 +1,7 @@
2012-12-17 Peter Jones <pjones@pmade.com>

* Network/API/TheMovieDB/Util.hs: Use catch from Control.Exception
since it doesn't seem to be in the GHC 7.6.1 Prelude.

* themoviedb.cabal: Widen dependencies to compile with GHC 7.6.1.
Release version 0.1.0.1.

+ 2
- 0
Network/API/TheMovieDB/Util.hs View File

@@ -18,6 +18,8 @@ welcome!

-}
module Network.API.TheMovieDB.Util (loadKey, loadContext) where
import Prelude hiding (catch)
import Control.Exception (catch)
import Control.Monad (liftM, msum)
import Data.Char (isSpace)
import Network.API.TheMovieDB.HTTP

+ 8
- 7
themoviedb.cabal View File

@@ -1,6 +1,6 @@
-- http://www.haskell.org/cabal/users-guide/developing-packages.html
name: themoviedb
version: 0.1.0.0
version: 0.1.0.1
synopsis: Haskell API bindings for http://themoviedb.org
homepage: http://github.com/pjones/themoviedb
bug-reports: http://github.com/pjones/themoviedb/issues
@@ -11,7 +11,7 @@ maintainer: Peter Jones <pjones@pmade.com>
copyright: Copyright: (c) 2012 Peter Jones <pjones@pmade.com>
category: Network, API
stability: experimental
tested-with: GHC == 7.0.4
tested-with: GHC == 7.0.4, GHC == 7.6.1
build-type: Simple
cabal-version: >=1.8
description: This library provides functions for retrieving metadata
@@ -19,6 +19,7 @@ description: This library provides functions for retrieving metadata
can be found in the "Network.API.TheMovieDB" module.

extra-source-files:
CHANGES
README.md
LICENSE
TODO.org
@@ -45,15 +46,15 @@ library
Network.API.TheMovieDB.Types.ReleaseDate

build-depends:
base ==4.3.*,
base <5.0.0.0,
old-locale ==1.0.*,
time ==1.2.*,
time >=1.2.0.0 && <1.5.0.0,
HTTP ==4000.2.*,
network ==2.3.*,
bytestring ==0.9.*,
network >=2.3.0.0 && <2.5.0.0,
bytestring >=0.9.0 && <0.10.1.0,
text ==0.11.*,
aeson ==0.6.*,
unix ==2.4.*
unix >=2.4.0.0 && <2.7.0.0

executable tmdb
main-is: example/Main.hs

Loading…
Cancel
Save