packages feed

metar-0.0.7: metar.cabal

name:               metar
version:            0.0.7
license:            BSD3
license-file:       LICENCE
author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@sıɹɹoɯʇ>
maintainer:         Tony Morris <ʇǝu˙sıɹɹoɯʇ@sıɹɹoɯʇ>
copyright:          Copyright (c) 2018-2026, Tony Morris
synopsis:           METAR from BOM (Australia) with NOAA fallback
category:           Data, Aviation
description:
  Obtain METAR observations. Australian aerodromes (ICAO codes beginning with Y)
  are fetched from the Bureau of Meteorology; other codes are fetched from NOAA.
  .
  <<https://i.imgur.com/VGTogB8.gif>>
homepage:           https://github.com/tonymorris/metar
bug-reports:        https://github.com/tonymorris/metar/issues
cabal-version:      >= 1.10
build-type:         Simple
extra-source-files: changelog.md

source-repository   head
  type:             git
  location:         git@github.com:tonymorris/metar.git

library
  default-language:
                    Haskell2010

  build-depends:
                    base >= 4.8 && < 5
                    , bytestring >= 0.10 && < 0.13
                    , directory >= 1.3 && < 1.4
                    , filepath >= 1.4 && < 1.6
                    , http-client >= 0.5 && < 0.8
                    , http-types >= 0.12 && < 0.13
                    , HTTP >= 4000 && < 5000
                    , lens >= 4 && < 6
                    , semigroups >= 0.9 && < 0.21
                    , semigroupoids >= 5.2 && < 7
                    , transformers >= 0.5 && < 0.7
                    , deriving-compat >= 0.5 && < 0.7
                    , tagsoup >= 0.14 && < 0.15
                    , time >= 1.9 && < 2
                    , wreq >= 0.5 && < 0.6

  ghc-options:
                    -Wall

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Aviation.GAF
                    , Data.Aviation.GPWT
                    , Data.Aviation.Metar
                    , Data.Aviation.Metar.Cache
                    , Data.Aviation.Metar.METARError
                    , Data.Aviation.Metar.METARResult
                    , Data.Aviation.Metar.METARResultT

executable          metar
  main-is:
                    Main.hs

  default-language:
                    Haskell2010

  build-depends:
                    base >= 4.8 && < 5
                    , metar

  ghc-options:
                    -Wall

  hs-source-dirs:
                    src-exe