diff options
author | jao <jao@gnu.org> | 2020-01-27 00:56:35 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2020-01-27 00:56:35 +0000 |
commit | 5a7a0298a3e94f49321f7922f987a1a0396850a8 (patch) | |
tree | 998ac613e08a115bfcceb7e1d93388a028980e6e /xmobar.cabal | |
parent | efb6d6817c092fe08e9b0f1b8a17bddd29d97cdb (diff) | |
download | xmobar-5a7a0298a3e94f49321f7922f987a1a0396850a8.tar.gz xmobar-5a7a0298a3e94f49321f7922f987a1a0396850a8.tar.bz2 |
Revert "Only require http-conduit when absolutely necessary"
This reverts commit efb6d6817c092fe08e9b0f1b8a17bddd29d97cdb.
Diffstat (limited to 'xmobar.cabal')
-rw-r--r-- | xmobar.cabal | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/xmobar.cabal b/xmobar.cabal index 02d096a..176a18d 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -176,7 +176,8 @@ library parsec-numbers >= 0.1.0, stm >= 2.3 && < 2.6, extensible-exceptions == 0.1.*, - async + async, + http-conduit if impl(ghc < 8.0.2) -- Disable building with GHC before 8.0.2. @@ -250,11 +251,11 @@ library if flag(with_weather) || flag(all_extensions) exposed-modules: Xmobar.Plugins.Monitors.Weather cpp-options: -DWEATHER - build-depends: http-conduit, http-types + build-depends: http-types if flag(with_uvmeter) exposed-modules: Xmobar.Plugins.Monitors.UVMeter - build-depends: http-conduit, http-types + build-depends: http-types cpp-options: -DUVMETER if os(freebsd) @@ -310,6 +311,7 @@ test-suite XmobarTest async, temporary, hspec == 2.*, + http-conduit, xmobar other-modules: Xmobar.Plugins.Monitors.CommonSpec @@ -331,6 +333,3 @@ test-suite XmobarTest Xmobar.Plugins.Monitors.AlsaSpec cpp-options: -DALSA - - if flag(with_weather) || flag(all_extensions) || flag(with_uvmeter) - build-depends: http-conduit |