summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorAmir Saeid <amir@glgdgt.com>2021-06-29 22:35:58 +0100
committerAmir Saeid <amir@glgdgt.com>2021-07-13 08:40:45 +0100
commit7d4e3efca1cb1164040a4a64c1747a9aa163a9f0 (patch)
treeb0ee6b2c98d32ca1b089106d3dbca1039eec59d7 /xmobar.cabal
parent13e35e692d07ad9a21a5a8b4bd8cb5326098997e (diff)
downloadxmobar-7d4e3efca1cb1164040a4a64c1747a9aa163a9f0.tar.gz
xmobar-7d4e3efca1cb1164040a4a64c1747a9aa163a9f0.tar.bz2
Add Kraken plugin
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