weather-api 0.4.3 → 0.4.3.2
raw patch · 3 files changed
+37/−35 lines, 3 filesdep +network-uridep ~HTTPdep ~aesondep ~attoparsec
Dependencies added: network-uri
Dependency ranges changed: HTTP, aeson, attoparsec, base, bytestring, network, utf8-string, vector
Files
- WeatherApi/Util.hs +0/−5
- WeatherApi/WWOnline.hs +1/−1
- weather-api.cabal +36/−29
− WeatherApi/Util.hs
@@ -1,5 +0,0 @@-module WeatherApi.Util where--mapName "data_" = "data"-mapName "type_" = "type"-mapName other = other
WeatherApi/WWOnline.hs view
@@ -8,7 +8,7 @@ import Data.ByteString.Char8 (pack, unpack) import Data.Aeson import Data.Aeson.TH-import Data.Attoparsec hiding (Result(..))+import Data.Attoparsec.ByteString hiding (Result(..)) import Data.Maybe import Control.Applicative
weather-api.cabal view
@@ -1,32 +1,39 @@-Name: weather-api-Version: 0.4.3-Synopsis: Weather api implemented in haskell-Description:- This library implement generic api for retrieving weather- by http, and has google weather api as example.--Homepage: https://github.com/cvb/hs-weather-api.git-License: MIT-License-file: LICENSE-Author: Peter-Maintainer: peter@standalone.su-Build-type: Simple-Category: API+-- This file has been generated from package.yaml by hpack version 0.17.0.+--+-- see: https://github.com/sol/hpack -Cabal-version: >= 1.6-Library- Exposed-modules: WeatherApi, WeatherApi.WWOnline- Other-modules:- WeatherApi.Util- Build-depends: base == 4.*- ,network == 2.4.*- ,HTTP == 4000.2.*- ,utf8-string == 0.3.7- ,aeson == 0.6.*- ,bytestring == 0.10.*- ,attoparsec == 0.10.*- ,vector >= 0.9+name: weather-api+version: 0.4.3.2+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+cabal-version: >= 1.10 source-repository head- type: git- location: git://github.com/cvb/hs-weather-api.git+ type: git+ location: https://github.com/cvb/hs-weather-api++library+ build-depends:+ base < 5+ , HTTP+ , aeson+ , attoparsec+ , bytestring+ , network+ , network-uri+ , utf8-string+ , vector+ exposed-modules:+ WeatherApi+ WeatherApi.WWOnline+ other-modules:+ Paths_weather_api+ default-language: Haskell2010