From 7d4e3efca1cb1164040a4a64c1747a9aa163a9f0 Mon Sep 17 00:00:00 2001 From: Amir Saeid Date: Tue, 29 Jun 2021 22:35:58 +0100 Subject: Add Kraken plugin --- xmobar.cabal | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'xmobar.cabal') 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 -- cgit v1.2.3