packages feed

hgeos-0.1.0.0: hgeos.cabal

name:                 hgeos
version:              0.1.0.0
synopsis:             Haskell bindings to GEOS C API
description:          Please see README.md
homepage:             https://github.com/rcook/hgeos#readme
license:              MIT
license-file:         LICENSE
author:               Richard Cook
maintainer:           rcook@rcook.org
copyright:            2016 Richard Cook
category:             Web
build-type:           Simple
cabal-version:        >= 1.10

source-repository head
  type:               git
  location:           https://github.com/rcook/hgeos.git

library
  hs-source-dirs:     src/lib
  default-language:   Haskell2010
  build-depends:      base >= 4.7 && < 5
  extra-libraries:    geos_c
  c-sources:          src/lib/helpers.c
  includes:           src/lib/helpers.h
  cc-options:         -std=c99 -pthread
  exposed-modules:    Data.Geolocation.GEOS
                    , Data.Geolocation.GEOS.Imports
  if os(windows)
    include-dirs:     C:/OSGeo4W64/include
    extra-lib-dirs:   C:/OSGeo4W64/lib

executable hgeos
  hs-source-dirs:     src/app
  main-is:            Main.hs
  default-language:   Haskell2010
  build-depends:      base >= 4.7 && < 5
                    , hgeos
  other-modules:      Main

test-suite doctests
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Main.hs
  default-language:   Haskell2010
  build-depends:      Glob
                    , base >= 4.7 && < 5
                    , doctest