packages feed

ziptastic-client-0.3.0.0: ziptastic-client.cabal

name:                ziptastic-client
version:             0.3.0.0
synopsis:
  A type-safe client for the Ziptastic API for doing forward and reverse geocoding.
description:
  A convenient and type-safe client library for the
  Ziptastic (<https://www.getziptastic.com/>) API providing forward and reverse
  geocoding via country, zip code (postal code), latitude, and longitude.
  .
  This package is maintained by Grafted-In (<https://www.graftedin.io/>).
homepage:            https://github.com/Ziptastic/ziptastic-haskell#readme
license:             BSD3
license-file:        LICENSE
author:              Elliot Cameron
maintainer:          elliot@graftedin.io
copyright:           2017 Elliot Cameron and Ziptastic and Grafted-In LLC
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10
tested-with:         GHC == 8.0.2
extra-source-files:
  CHANGELOG.md
  README.md

library
  hs-source-dirs:  src
  exposed-modules: Ziptastic.Client
  build-depends:
      base                  >= 4.7 && < 5
    , http-client
    , iso3166-country-codes
    , servant               >= 0.9 && <= 0.11
    , servant-client        >= 0.9 && <= 0.11
    , text
    , ziptastic-core        == 0.2.0.0
  default-language: Haskell2010
  other-extensions:
    DataKinds
    TypeOperators
    OverloadedStrings
  ghc-options: -Wall

test-suite test-client
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:
      base
    , hspec
    , http-client
    , http-client-tls
    , http-types
    , iso3166-country-codes
    , servant-client
    , ziptastic-client
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010


source-repository head
  type:     git
  location: https://github.com/Ziptastic/ziptastic-haskell