packages feed

ziptastic-core-0.1.0.0: ziptastic-core.cabal

name:                ziptastic-core
version:             0.1.0.0
synopsis:
  Core Servant specification for the Ziptastic API (https://www.getziptastic.com) 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

library
  hs-source-dirs:  src
  exposed-modules: Ziptastic.Core
  build-depends:
      aeson
    , base >= 4.7 && < 5
    , bytestring
    , http-api-data
    , iso3166-country-codes
    , servant
    , text
    , tz
  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
    , here
    , hspec
    , iso3166-country-codes
    , text
    , tz
    , ziptastic-core
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

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