Browse Source

Small updates to match new dependency versions

tags/v0.2.3.0
Peter J. Jones 2 years ago
parent
commit
4219d8380f
Signed by: Peter Jones <pjones@devalot.com> GPG Key ID: 9DAFAA8D01941E49

+ 1
- 0
cabal.project View File

@@ -0,0 +1 @@
packages: ./ vendor/themoviedb vendor/byline

+ 1
- 1
src/Vimeta/Core/Download.hs View File

@@ -123,7 +123,7 @@ runWithoutTempFile vio = do
-- | Helper function to the actual HTTP downloading into a file handle.
downloadToHandle :: HC.Manager -> String -> Handle -> IO ()
downloadToHandle manager url handle = do
request <- HC.parseUrl url
request <- HC.parseRequest url
response <- HC.httpLbs request manager
BS.hPut handle (HC.responseBody response)
hFlush handle

+ 3
- 4
src/Vimeta/Core/Vimeta.hs View File

@@ -121,10 +121,9 @@ loadTMDBConfig manager key = do
-- | Very primitive way of running a 'Vimeta' value with the given 'Context'.
-- Mostly useful for running vimeta action within another vimeta
-- action.
execVimetaWithContext :: (MonadIO m)
=> Context
-> Vimeta m a
-> m (Either String a)
execVimetaWithContext :: Context
-> Vimeta m a
-> m (Either String a)
execVimetaWithContext context vimeta =
runEitherT $ runReaderT (unV vimeta) context


+ 1
- 0
src/Vimeta/UI/CommandLine/Common.hs View File

@@ -20,6 +20,7 @@ module Vimeta.UI.CommandLine.Common
) where

--------------------------------------------------------------------------------
import Data.Monoid
import Options.Applicative
import Vimeta.Core


+ 1
- 0
src/Vimeta/UI/CommandLine/TV.hs View File

@@ -20,6 +20,7 @@ module Vimeta.UI.CommandLine.TV

--------------------------------------------------------------------------------
import Control.Monad
import Data.Monoid
import Network.API.TheMovieDB
import Options.Applicative
import Vimeta.Core

+ 24
- 24
vimeta.cabal View File

@@ -69,30 +69,30 @@ library
if flag(maintainer)
ghc-options: -Werror

build-depends: aeson >= 0.8 && < 0.10
, base >= 4.6 && < 5.0
, byline >= 0.1 && < 0.3
, bytestring >= 0.10 && < 0.11
, containers >= 0.5 && < 0.6
, directory >= 1.2 && < 1.3
, either >= 4.3 && < 4.5
, filepath >= 1.3 && < 1.5
, http-client >= 0.4 && < 0.5
, http-client-tls >= 0.2.2 && < 0.3
, http-types >= 0.8 && < 0.10
, mtl >= 2.1 && < 2.3
, old-locale >= 1.0 && < 1.1
, optparse-applicative >= 0.11 && < 0.13
, parsec >= 3.1 && < 3.2
, process >= 1.1 && < 1.3
, temporary >= 1.1 && < 1.3
, text >= 0.11 && < 1.3
, themoviedb >= 1.1 && < 1.2
, time >= 1.2 && < 1.6
, time-locale-compat >= 0.1 && < 0.2
, transformers >= 0.3 && < 0.5
, xdg-basedir >= 0.2 && < 0.3
, yaml >= 0.8 && < 0.9
build-depends: aeson >= 0.8 && < 1.2
, base >= 4.6 && < 5.0
, byline >= 0.1 && < 0.3
, bytestring >= 0.10 && < 0.11
, containers >= 0.5 && < 0.6
, directory >= 1.2 && < 1.4
, either >= 4.3 && < 4.5
, filepath >= 1.3 && < 1.5
, http-client >= 0.4.30 && < 0.6
, http-client-tls >= 0.2.2 && < 0.4
, http-types >= 0.8 && < 0.10
, mtl >= 2.1 && < 2.3
, old-locale >= 1.0 && < 1.1
, optparse-applicative >= 0.11 && < 0.14
, parsec >= 3.1 && < 3.2
, process >= 1.1 && < 1.7
, temporary >= 1.1 && < 1.3
, text >= 0.11 && < 1.3
, themoviedb >= 1.1 && < 1.2
, time >= 1.2 && < 1.9
, time-locale-compat >= 0.1 && < 0.2
, transformers >= 0.3 && < 0.6
, xdg-basedir >= 0.2 && < 0.3
, yaml >= 0.8 && < 0.9

--------------------------------------------------------------------------------
executable vimeta

Loading…
Cancel
Save