Extends dependency versions for compilation with new library versions.
parent
7130fd21c8
commit
642b13c035
|
@ -1,4 +1,4 @@
|
||||||
{-# LANGUAGE FlexibleContexts, TemplateHaskell #-}
|
{-# LANGUAGE FlexibleContexts, TemplateHaskell, TypeFamilies #-}
|
||||||
|
|
||||||
module Network.IRC.Bot
|
module Network.IRC.Bot
|
||||||
( In
|
( In
|
||||||
|
|
|
@ -10,7 +10,7 @@ Portability : POSIX
|
||||||
The IRC bot client used to create and run a bot.
|
The IRC bot client used to create and run a bot.
|
||||||
-}
|
-}
|
||||||
|
|
||||||
{-# LANGUAGE TemplateHaskell #-}
|
{-# LANGUAGE TemplateHaskell, TypeFamilies #-}
|
||||||
|
|
||||||
module Network.IRC.Client (runBot, Priority (..)) where
|
module Network.IRC.Client (runBot, Priority (..)) where
|
||||||
|
|
||||||
|
|
|
@ -60,11 +60,11 @@ library
|
||||||
hslogger-template >=2.0 && <2.1,
|
hslogger-template >=2.0 && <2.1,
|
||||||
lifted-base >=0.2 && <0.3,
|
lifted-base >=0.2 && <0.3,
|
||||||
mtl >=2.1 && <2.3,
|
mtl >=2.1 && <2.3,
|
||||||
network >=2.5 && <2.6,
|
network >=2.5 && <2.7,
|
||||||
safecopy >=0.8 && <0.9,
|
safecopy >=0.8 && <0.9,
|
||||||
text >=1.1 && <1.2,
|
text >=1.1 && <1.3,
|
||||||
text-format >=0.3 && <0.4,
|
text-format >=0.3 && <0.4,
|
||||||
time >=1.4 && <1.5,
|
time >=1.4 && <1.6,
|
||||||
transformers-base >=0.4 && <0.5,
|
transformers-base >=0.4 && <0.5,
|
||||||
unix >=2.7 && <2.8
|
unix >=2.7 && <2.8
|
||||||
|
|
||||||
|
|
|
@ -55,13 +55,13 @@ library
|
||||||
|
|
||||||
build-depends: base >=4.5 && <4.9,
|
build-depends: base >=4.5 && <4.9,
|
||||||
hask-irc-core ==0.1.0,
|
hask-irc-core ==0.1.0,
|
||||||
acid-state >=0.12 && <0.13,
|
acid-state >=0.12 && <0.14,
|
||||||
aeson >=0.7 && <0.8,
|
aeson >=0.7 && <0.10,
|
||||||
classy-prelude >=0.10 && <1.0,
|
classy-prelude >=0.10 && <1.0,
|
||||||
convertible >=1.1 && <1.2,
|
convertible >=1.1 && <1.2,
|
||||||
curl-aeson >=0.0.3 && <0.1,
|
curl-aeson >=0.0.3 && <0.1,
|
||||||
directory >=1.2 && <1.3,
|
directory >=1.2 && <1.3,
|
||||||
filepath >=1.3 && <1.4,
|
filepath >=1.3 && <1.5,
|
||||||
hslogger >=1.2 && <1.3,
|
hslogger >=1.2 && <1.3,
|
||||||
hslogger-template >=2.0 && <2.1,
|
hslogger-template >=2.0 && <2.1,
|
||||||
HTTP >=4000 && <5000,
|
HTTP >=4000 && <5000,
|
||||||
|
@ -69,9 +69,9 @@ library
|
||||||
lifted-base >=0.2 && <0.3,
|
lifted-base >=0.2 && <0.3,
|
||||||
mtl >=2.1 && <2.3,
|
mtl >=2.1 && <2.3,
|
||||||
safecopy >=0.8 && <0.9,
|
safecopy >=0.8 && <0.9,
|
||||||
text >=1.1 && <1.2,
|
text >=1.1 && <1.3,
|
||||||
text-format >=0.3 && <0.4,
|
text-format >=0.3 && <0.4,
|
||||||
time >=1.4 && <1.5,
|
time >=1.4 && <1.6,
|
||||||
uuid >=1.3 && <1.4
|
uuid >=1.3 && <1.4
|
||||||
|
|
||||||
exposed-modules: Network.IRC.Handlers,
|
exposed-modules: Network.IRC.Handlers,
|
||||||
|
|
|
@ -14,10 +14,6 @@ import Network.IRC
|
||||||
import Network.IRC.Configuration
|
import Network.IRC.Configuration
|
||||||
import Network.IRC.Handlers
|
import Network.IRC.Handlers
|
||||||
|
|
||||||
instance Configured a => Configured [a] where
|
|
||||||
convert (CFT.List xs) = Just . mapMaybe convert $ xs
|
|
||||||
convert _ = Nothing
|
|
||||||
|
|
||||||
instance Configurable CFT.Value where
|
instance Configurable CFT.Value where
|
||||||
fromValue (String a) = Just $ CFT.String a
|
fromValue (String a) = Just $ CFT.String a
|
||||||
fromValue (Number a) = Just $ CFT.Number (a R.% 1)
|
fromValue (Number a) = Just $ CFT.Number (a R.% 1)
|
||||||
|
|
|
@ -64,7 +64,7 @@ executable hask-irc
|
||||||
hask-irc-core ==0.1.0,
|
hask-irc-core ==0.1.0,
|
||||||
hask-irc-handlers ==0.1.0,
|
hask-irc-handlers ==0.1.0,
|
||||||
classy-prelude >=0.10 && <1.0,
|
classy-prelude >=0.10 && <1.0,
|
||||||
configurator >=0.2 && <0.3
|
configurator >=0.2 && <0.4
|
||||||
|
|
||||||
-- Directories containing source files.
|
-- Directories containing source files.
|
||||||
-- hs-source-dirs:
|
-- hs-source-dirs:
|
||||||
|
|
Loading…
Reference in New Issue