summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-02-07 04:49:32 +0000
committerjao <jao@gnu.org>2019-02-07 04:49:32 +0000
commit132c4c459763c81ddf60aeedf5b87b619bb5f1ce (patch)
treee9d958c5da9a34c960435a2045bc9ded9d0fbe0d /xmobar.cabal
parent75d0d5e1897d5d69a3b296011be1981b92fbb5ac (diff)
downloadxmobar-132c4c459763c81ddf60aeedf5b87b619bb5f1ce.tar.gz
xmobar-132c4c459763c81ddf60aeedf5b87b619bb5f1ce.tar.bz2
Always require http-conduit for weather (fixes #378)
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal12
1 files changed, 2 insertions, 10 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index d7cf9ea..b0c6cf6 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -87,10 +87,6 @@ flag with_weather
description: Enable weather plugin.
default: True
-flag with_conduit
- description: Use http-conduits for weather data, used only if with_weather.
- default: False
-
library
hs-source-dirs: src
@@ -251,15 +247,11 @@ library
cpp-options: -DXPM
if flag(with_weather) || flag(all_extensions)
- build-depends: HTTP >= 4000.2.4
exposed-modules: Xmobar.Plugins.Monitors.Weather
cpp-options: -DWEATHER
- if flag(with_conduit)
- -- use http-conduit instead of simple-http
- build-depends: http-conduit, http-types
- cpp-options: -DHTTP_CONDUIT
+ build-depends: http-conduit, http-types
- if flag(with_uvmeter) && flag(with_conduit)
+ if flag(with_uvmeter)
exposed-modules: Xmobar.Plugins.Monitors.UVMeter
build-depends: http-conduit, http-types
cpp-options: -DUVMETER