packages feed

ziptastic-core-0.2.0.3: ziptastic-core.cabal

name:                ziptastic-core
version:             0.2.0.3
synopsis:
  Core Servant specification for the Ziptastic API for doing forward and reverse geocoding.
description:
  This package provides a type-safe Servant specification for the Ziptastic
  (<https://www.getziptastic.com>) API for doing forward and reverse geocoding
  via zip/postal code, latitude, and longitude.
  .
  If you want to use the Ziptastic API in your application, try the @ziptastic-client@ package.
  .
  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.Core
  build-depends:
      aeson                 >= 0.7 && < 1.3
    , base                  >= 4.7 && < 5
    , base-compat           == 0.9.*
    , bytestring            == 0.10.*
    , http-api-data         == 0.3.*
    , iso3166-country-codes >= 0.20140203.8
    , servant               >= 0.9 && < 0.12
    , text                  >= 0.11
    , tz                    == 0.1.*
  default-language: Haskell2010
  other-extensions:
    DataKinds
    DeriveGeneric
    FlexibleInstances
    GeneralizedNewtypeDeriving
    OverloadedStrings
    TypeOperators
  ghc-options: -Wall

test-suite test-core
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:
      aeson
    , base
    , base-compat
    , here
    , hspec
    , iso3166-country-codes
    , text
    , tz
    , ziptastic-core
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010
  other-extensions:
    OverloadedStrings
    QuasiQuotes

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