blob: 21385768ba512547ebcbc34f4ef8cea613c57647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
name: openweathermap
version: 0.2.0
synopsis: Access data at OpenWeatherMap
description: Client library and command-line utility to access
OpenWeatherMap https://openweathermap.org
license: PublicDomain
license-file: LICENSE
author: Igor Pashev
maintainer: Igor Pashev <pashev.igor@gmail.com>
copyright: 2017, Igor Pashev <pashev.igor@gmail.com>
category: Web
build-type: Simple
extra-source-files: README.md ChangeLog.md
cabal-version: 1.20
source-repository head
type: git
location: https://github.com/ip1981/openweathermap.git
flag cmd
description: Build a command-line utility.
default: True
library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: lib
build-depends:
base >= 4.9 && < 5
, aeson
, http-api-data
, http-client
, servant
, servant-client >= 0.16
, servant-client-core
exposed-modules:
Web.OpenWeatherMap.API
Web.OpenWeatherMap.Client
Web.OpenWeatherMap.Types.City
Web.OpenWeatherMap.Types.Clouds
Web.OpenWeatherMap.Types.Coord
Web.OpenWeatherMap.Types.CurrentWeather
Web.OpenWeatherMap.Types.Forecast
Web.OpenWeatherMap.Types.ForecastWeather
Web.OpenWeatherMap.Types.Location
Web.OpenWeatherMap.Types.Main
Web.OpenWeatherMap.Types.Sys
Web.OpenWeatherMap.Types.Weather
Web.OpenWeatherMap.Types.Wind
executable openweathermap
default-language: Haskell2010
ghc-options: -Wall -static
hs-source-dirs: cmd
main-is: Main.hs
other-modules: Print
if flag(cmd)
build-depends:
base >= 4.9 && < 5
, directory
, openweathermap
, optparse-applicative >= 0.13.0.0
, time
, xdg-basedir
else
buildable: False
|