name:                SpatialMath
version:             0.2.7.0
synopsis:            3d math including quaternions/euler angles/dcms and utility functions
description:         This is a fork of Greg Horn's spatial-math package.  It's reason for
                     being is that its most recent version does not require deprecated
                     packages.
license:             BSD3
license-file:        LICENSE
author:              Greg Horn
maintainer:          Scott N. Walck <walck@lvc.edu>
copyright:           Copyright (c) 2012, Greg Horn
category:            Math
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:  README.md
                     changelog.txt

library
  hs-source-dirs:      src
  exposed-modules:     SpatialMath
                       SpatialMathT
  other-modules:       Types
  build-depends:       base                          >= 4     && < 5  ,
                       ghc-prim                      >= 0.8.0 && < 0.9,
                       binary                        >= 0.8.9 && < 0.9,
                       cereal                        >= 0.5.8 && < 0.6,
                       lens                          >= 5.2.3 && < 5.3,
                       linear                        >= 1.22  && < 1.23
  default-language:    Haskell2010

source-repository head
  type:     git
  location: git://github.com/ghorn/spatial-math.git

test-suite doctests
  type:                exitcode-stdio-1.0
  main-is:             doctests.hs
  build-depends:       base >= 4 && < 5,
                       doctest >= 0.22.1 && < 1
  default-language:    Haskell2010
  ghc-options:         -threaded
  hs-source-dirs:      tests

test-suite unit-tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             Tests.hs
  default-language:    Haskell2010
  build-depends:       base >=4.6 && < 5,
                       SpatialMath,
                       QuickCheck >= 2.14.3 && < 3,
                       test-framework >= 0.8.2.0 && < 1,
                       test-framework-quickcheck2 >= 0.3.0.5 && < 1