packages feed

geo-uk-0.1.0.1: geo-uk.cabal

-- Initial geo-uk.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                geo-uk
version:             0.1.0.1
synopsis:            High precision conversion between GPS and UK Grid
description:         Conversion between GPS and UKGrid Coordinates one approximate and one using table.
homepage:            https://github.com/tolysz/geo-uk
license:             BSD3
license-file:        LICENSE
author:              Marcin Tolysz
maintainer:          tolysz@gmail.com
copyright:           (c) 2015 Marcin Tolysz, (c) Crown copyright, Ordnance Survey and the Ministry of Defence (MOD) 2002. All rights
category:            Data
build-type:          Simple
extra-source-files:  data/GB.dat
cabal-version:       >=1.10

Flag embeded
  Description:   Embed Static data
  Default:       False

library
  exposed-modules:     Data.Geo.OSGM02Tab
                       Data.Geo.Type
                       Data.Geo.Point
  -- other-modules:       
  -- other-extensions:
  if flag(embeded)
      cpp-options: -DEMBEDED_DATA
      build-depends: bzlib
                   , file-embed
  build-depends:       base >=4.7 && < 5
               ,       array
               ,       binary
               ,       bytestring
               ,       th-lift
               ,       template-haskell
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: -O2