aboutsummaryrefslogtreecommitdiff
path: root/package.yaml
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-12-14 12:55:45 -0700
committerJosh Rahm <rahm@google.com>2022-12-14 12:56:36 -0700
commitd7f4e6cdc9693e58733f67168a1fe84f0c805507 (patch)
treef099adfed510e22ce851d030746bb6b80bffd213 /package.yaml
parentc8b87f9bb5336ca4866d54b5bf468e55fece32c3 (diff)
downloadrde-d7f4e6cdc9693e58733f67168a1fe84f0c805507.tar.gz
rde-d7f4e6cdc9693e58733f67168a1fe84f0c805507.tar.bz2
rde-d7f4e6cdc9693e58733f67168a1fe84f0c805507.zip
Rewrite xmobar-weather in Haskell.
This adds a new binary that replaces the jenky Perl weather script. In addition this switches the weather source to wttr.in. Before it would always pull the weather from the same weather station, which is not what I want.
Diffstat (limited to 'package.yaml')
-rw-r--r--package.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/package.yaml b/package.yaml
index 07a09df..81ba046 100644
--- a/package.yaml
+++ b/package.yaml
@@ -6,6 +6,10 @@ executables:
main: Main.hs
source-dirs: src
+ xmobar-weather:
+ main: Main.hs
+ source-dirs: xmobar/extras/weather/src
+
ghc-options:
- -XBangPatterns
- -XDataKinds
@@ -44,3 +48,6 @@ dependencies:
- linear
- time
- prettyprinter
+ - aeson
+ - curl
+ - text