By | fr33domlover |
At | 2015-09-19 |
Title | allow both network and network-uri for better compatibility |
Description |
Edit file funbot-client.cabal 33188 → 33188
21 21 22 22 source-repository head
23 23 type: git
24 24 location: https://notabug.org/fr33domlover/funbot-client.git
25 25 + 26 flag network-uri
+ 27 description: Get Network.URI from the network-uri package
+ 28 default: True
+ 29 26 30 library
27 31 exposed-modules: FunBot.Client
28 32 -- other-modules:
29 33 -- other-extensions:
30 34 build-depends: aeson
31 35 , aeson-pretty >=0.7
32 36 , base >=4.7 && <5
33 37 , bytestring
34 38 , funbot-ext-events
35 39 , HTTP >=4000.2
- 36 , network-uri >=2.6
+ 40 if flag(network-uri)
+ 41 build-depends: network-uri >=2.6
+ 42 else
+ 43 build-depends: network <2.6
37 44 hs-source-dirs: src
38 45 default-language: Haskell2010
39 46 ghc-options: -Wall
… … … …