summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal14
1 files changed, 14 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 5b3275c..a4d79bd 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -92,6 +92,10 @@ flag with_weather
description: Enable weather plugin.
default: True
+flag with_kraken
+ description: Enable Kraken plugin.
+ default: False
+
library
default-language: Haskell2010
hs-source-dirs: src
@@ -274,6 +278,16 @@ library
build-depends: http-conduit, http-types
cpp-options: -DUVMETER
+ if flag(with_kraken)
+ other-modules: Xmobar.Plugins.Kraken
+ build-depends: aeson == 1.5.6.*
+ , text == 1.2.4.*
+ , unordered-containers == 0.2.14.*
+ , vector == 0.12.3.*
+ , wuss == 1.1.*
+ , websockets == 0.12.*
+ cpp-options: -DKRAKEN
+
if os(freebsd)
-- enables freebsd specific code
build-depends: bsd-sysctl