From c8293ed2ef298bf79d3784831cce3e0f75efec49 Mon Sep 17 00:00:00 2001 From: Max Taldykin Date: Wed, 24 Jun 2020 12:28:16 +0300 Subject: [PATCH 1/2] Add .cabal file --- .gitignore | 1 - weather-api.cabal | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 weather-api.cabal diff --git a/.gitignore b/.gitignore index ccefee9..8ee1bf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -*.cabal .stack-work diff --git a/weather-api.cabal b/weather-api.cabal new file mode 100644 index 0000000..a9d10c7 --- /dev/null +++ b/weather-api.cabal @@ -0,0 +1,43 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.33.0. +-- +-- see: https://github.com/sol/hpack +-- +-- hash: a9422265cbf8ec6c3609afab7bfa296e64f5cf979f5c922802d80e2462276796 + +name: weather-api +version: 0.4.4 +synopsis: Weather API implemented in Haskell +description: This library implement generic API for retrieving weather by HTTP, and has Google weather API as example. +category: API +homepage: https://github.com/cvb/hs-weather-api#readme +bug-reports: https://github.com/cvb/hs-weather-api/issues +author: Peter +maintainer: peter@standalone.su +license: MIT +license-file: LICENSE +build-type: Simple + +source-repository head + type: git + location: https://github.com/cvb/hs-weather-api + +library + exposed-modules: + WeatherApi + WeatherApi.WWOnline + WeatherApi.OpenWeatherMap + other-modules: + WeatherApi.Util + build-depends: + HTTP + , aeson + , attoparsec + , base <5 + , bytestring + , network + , network-uri + , utf8-string + , vector + default-language: Haskell2010 From 9abf6ec51c13ed17a02c6a86ba34e1fca8f2bb86 Mon Sep 17 00:00:00 2001 From: Max Taldykin Date: Wed, 24 Jun 2020 12:28:46 +0300 Subject: [PATCH 2/2] Update to lts-15.15 --- stack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack.yaml b/stack.yaml index fd5fbfe..eabaf09 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1,3 @@ -resolver: lts-8.15 +resolver: lts-15.15 packages: - '.'