packages feed

hgis-0.1.3.3: hgis.cabal

name:                hgis
version:             0.1.3.3
synopsis:            Package and command-line for GIS with Haskell
description:         Package containting functions to make graphs, read 
                     shapefiles, and compute areas/perimeters of
                     geographic features. 
homepage:            https://github.com/vmchale/hgis#readme
license:             BSD3
license-file:        LICENSE
author:              Vanessa McHale
maintainer:          tmchale@wisc.edu
copyright:           Copyright: (c) 2016 Vanessa McHale
category:            Web
build-type:          Simple
extra-source-files:  README.md, stack.yaml, docs/manual.tex, docs/manual.pdf, src/depends/readshp/LICENSE, LICENSE-readshp
cabal-version:       >=1.10

Flag llvm-fast {
  Description: Enable build with llvm backend
  Default: False
}

library
  hs-source-dirs:      src, src/depends/readshp
  exposed-modules:     GIS.Exe.Opt
                     , GIS.Exe.OptCairo
                     , GIS.Math.Spherical
                     , GIS.Graphics.PlotPNG
                     , GIS.Graphics.PlotSVG
                     , GIS.Hylo
                     , GIS.Math.Projections
  other-modules:       GIS.Math.Utils
                     , GIS.Utils
                     , GIS.Graphics.Plot
                     , GIS.Graphics.Types
                     , GIS.Types
                     , GIS.Exe.Parser
                     , Geometry.Shapefile
                     , Geometry.Shapefile.MergeShpDbf
                     , Geometry.Shapefile.ReadDbf
                     , Geometry.Shapefile.ReadShp
                     , Geometry.Shapefile.Types
                     , Geometry.Shapefile.Internal
  build-depends:       base >= 4.7 && < 5
                     , optparse-applicative
                     , Chart
                     , Chart-cairo
                     , Chart-diagrams
                     , lens
                     , composition
                     , ansi-wl-pprint
                     , transformers
                     , directory
                     , colour
                     , data-default
                     , binary
                     , bytestring
                     , data-binary-ieee754
                     , filepath
                     , monad-loops
  default-language:    Haskell2010
  default-extensions:  DeriveGeneric
                     , OverloadedStrings

executable hgis
  hs-source-dirs:      app
  main-is:           MainPng.hs
  if flag(llvm-fast)
    ghc-options:       -threaded -rtsopts -with-rtsopts=-N -fllvm -optlo-O3 -O3
  else
    ghc-options:       -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , hgis
  default-language:    Haskell2010

test-suite hgis-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , hgis
                     , hspec
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/vmchale/hgis