cabal-version: 2.0 name: hgis version: 1.0.0.3 x-revision: 2 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2016-2018 Vanessa McHale maintainer: vamchale@gmail.com author: Vanessa McHale synopsis: Library and for GIS with Haskell description: Package containing functions to make graphs, read shapefiles, and compute areas/perimeters of geographic features. category: Web build-type: Simple extra-source-files: cabal.project.local extra-doc-files: README.md CHANGELOG.md docs/manual.tex dbf/LICENSE source-repository head type: darcs location: https://hub.darcs.net/vmchale/hgis flag development description: Turn on '-Werror' default: False manual: True flag cairo description: Enable build using cairo backend, allowing generation of PNGs flag diagrams description: Enable build using diagrams backend, allowing generation of SVGs library exposed-modules: GIS.Math.Projections GIS.Math.Spherical GIS.Hylo hs-source-dirs: src other-modules: GIS.Graphics.Types GIS.Utils GIS.Graphics.Plot GIS.Types default-language: Haskell2010 default-extensions: DeriveGeneric OverloadedStrings other-extensions: RankNTypes FlexibleInstances RecordWildCards ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-export-lists build-depends: base >=4.11 && <5, Chart <0.7, lens <5.3, composition-prelude >=1.1.0.1 && <3.1, ansi-wl-pprint <1.0, directory <1.4, colour <2.4, data-default <0.8, hgis-readshp -any, spherical <0.2.0.0 if flag(cairo) exposed-modules: GIS.Graphics.PlotPNG if flag(diagrams) exposed-modules: GIS.Graphics.PlotSVG if flag(cairo) build-depends: Chart-cairo <1.10 if flag(diagrams) build-depends: Chart-diagrams <1.10 if flag(development) ghc-options: -Werror library hgis-readshp exposed-modules: Geometry.Shapefile.Types Geometry.Shapefile.MergeShpDbf Geometry.Shapefile.ReadShp hs-source-dirs: dbf other-modules: Geometry.Shapefile.ReadDbf Geometry.Shapefile.Internal default-language: Haskell2010 build-depends: base -any, binary <0.9, bytestring <0.12, data-binary-ieee754 <0.5, monad-loops <0.5, filepath <1.5 test-suite hgis-test type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: test default-language: Haskell2010 ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wmissing-export-lists build-depends: base -any, hgis -any, hspec <2.12, spherical >=0.1.2.0 if flag(development) ghc-options: -Werror