Browse Source

Extends dependency versions for compilation with new library versions.

Abhinav Sarkar 5 years ago
parent
commit
642b13c035

+ 1
- 1
hask-irc-core/Network/IRC/Bot.hs View File

@@ -1,4 +1,4 @@
1
-{-# LANGUAGE FlexibleContexts, TemplateHaskell #-}
1
+{-# LANGUAGE FlexibleContexts, TemplateHaskell, TypeFamilies #-}
2 2
 
3 3
 module Network.IRC.Bot
4 4
   ( In

+ 1
- 1
hask-irc-core/Network/IRC/Client.hs View File

@@ -10,7 +10,7 @@ Portability : POSIX
10 10
 The IRC bot client used to create and run a bot.
11 11
 -}
12 12
 
13
-{-# LANGUAGE TemplateHaskell #-}
13
+{-# LANGUAGE TemplateHaskell, TypeFamilies #-}
14 14
 
15 15
 module Network.IRC.Client (runBot, Priority (..)) where
16 16
 

+ 3
- 3
hask-irc-core/hask-irc-core.cabal View File

@@ -60,11 +60,11 @@ library
60 60
                        hslogger-template    >=2.0     && <2.1,
61 61
                        lifted-base          >=0.2     && <0.3,
62 62
                        mtl                  >=2.1     && <2.3,
63
-                       network              >=2.5     && <2.6,
63
+                       network              >=2.5     && <2.7,
64 64
                        safecopy             >=0.8     && <0.9,
65
-                       text                 >=1.1     && <1.2,
65
+                       text                 >=1.1     && <1.3,
66 66
                        text-format          >=0.3     && <0.4,
67
-                       time                 >=1.4     && <1.5,
67
+                       time                 >=1.4     && <1.6,
68 68
                        transformers-base    >=0.4     && <0.5,
69 69
                        unix                 >=2.7     && <2.8
70 70
 

+ 5
- 5
hask-irc-handlers/hask-irc-handlers.cabal View File

@@ -55,13 +55,13 @@ library
55 55
 
56 56
   build-depends:       base                 >=4.5     && <4.9,
57 57
                        hask-irc-core        ==0.1.0,
58
-                       acid-state           >=0.12    && <0.13,
59
-                       aeson                >=0.7     && <0.8,
58
+                       acid-state           >=0.12    && <0.14,
59
+                       aeson                >=0.7     && <0.10,
60 60
                        classy-prelude       >=0.10    && <1.0,
61 61
                        convertible          >=1.1     && <1.2,
62 62
                        curl-aeson           >=0.0.3   && <0.1,
63 63
                        directory            >=1.2     && <1.3,
64
-                       filepath             >=1.3     && <1.4,
64
+                       filepath             >=1.3     && <1.5,
65 65
                        hslogger             >=1.2     && <1.3,
66 66
                        hslogger-template    >=2.0     && <2.1,
67 67
                        HTTP                 >=4000    && <5000,
@@ -69,9 +69,9 @@ library
69 69
                        lifted-base          >=0.2     && <0.3,
70 70
                        mtl                  >=2.1     && <2.3,
71 71
                        safecopy             >=0.8     && <0.9,
72
-                       text                 >=1.1     && <1.2,
72
+                       text                 >=1.1     && <1.3,
73 73
                        text-format          >=0.3     && <0.4,
74
-                       time                 >=1.4     && <1.5,
74
+                       time                 >=1.4     && <1.6,
75 75
                        uuid                 >=1.3     && <1.4
76 76
 
77 77
   exposed-modules:     Network.IRC.Handlers,

+ 0
- 4
hask-irc-runner/Network/IRC/Config.hs View File

@@ -14,10 +14,6 @@ import Network.IRC
14 14
 import Network.IRC.Configuration
15 15
 import Network.IRC.Handlers
16 16
 
17
-instance Configured a => Configured [a] where
18
-  convert (CFT.List xs) = Just . mapMaybe convert $ xs
19
-  convert _ = Nothing
20
-
21 17
 instance Configurable CFT.Value where
22 18
   fromValue (String a)  = Just $ CFT.String a
23 19
   fromValue (Number a)  = Just $ CFT.Number (a R.% 1)

+ 1
- 1
hask-irc-runner/hask-irc-runner.cabal View File

@@ -64,7 +64,7 @@ executable hask-irc
64 64
                        hask-irc-core        ==0.1.0,
65 65
                        hask-irc-handlers    ==0.1.0,
66 66
                        classy-prelude       >=0.10    && <1.0,
67
-                       configurator         >=0.2     && <0.3
67
+                       configurator         >=0.2     && <0.4
68 68
 
69 69
   -- Directories containing source files.
70 70
   -- hs-source-dirs:

Loading…
Cancel
Save