packages feed

coordinate-0.0.21: coordinate.cabal

name:               coordinate
version:            0.0.21
license:            BSD3
license-file:       LICENCE
author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
maintainer:         Tony Morris
copyright:          Copyright (C) 2013-2016 NICTA Limited
synopsis:           A representation of latitude and longitude
category:           Development
description:       
  <<http://i.imgur.com/Ns5hntl.jpg>>
  .
  A representation of latitude and longitude
homepage:           https://github.com/NICTA/coordinate
bug-reports:        https://github.com/NICTA/coordinate/issues
cabal-version:      >= 1.10
build-type:         Custom
extra-source-files: changelog

source-repository   head
  type:             git
  location:         git@github.com:NICTA/coordinate.git

flag                small_base
  description:      Choose the new, split-up base package.

library
  default-language:
                    Haskell2010

  build-depends:
                      base < 5 && >= 3
                    , lens >= 4.0
                    , tagged >= 0.7
                    , transformers >= 0.3.0.0
                    , radian >= 0.0.4

  ghc-options:
                    -Wall

  default-extensions:
                      NoImplicitPrelude

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Geo.Coordinate
                    Data.Geo.Coordinate.Coordinate
                    Data.Geo.Coordinate.DegreesLatitude
                    Data.Geo.Coordinate.DegreesLongitude
                    Data.Geo.Coordinate.Latitude
                    Data.Geo.Coordinate.Longitude
                    Data.Geo.Coordinate.Minutes
                    Data.Geo.Coordinate.Seconds

test-suite doctests
  type:
                    exitcode-stdio-1.0

  main-is:
                    doctests.hs

  default-language:
                    Haskell2010

  build-depends:
                      base < 5 && >= 3
                    , doctest >= 0.9.7
                    , filepath >= 1.3
                    , directory >= 1.1
                    , QuickCheck >= 2.0
                    , template-haskell >= 2.8

  ghc-options:
                    -Wall
                    -threaded

  hs-source-dirs:
                    test