packages feed

fit-0.5: fit.cabal

name:                fit
version:             0.5
license:             BSD3
license-file:        LICENSE
author:              Matt Giles
maintainer:          matt.w.giles@gmail.com
copyright:           2014-2015 Matt Giles
synopsis:            FIT file decoder
description:
 The FIT protocol is used by many sport and fitness devices made by companies
 like Garmin, for example running watches and bike computers. `fit` provides an
 API for parsing these files for analysis or conversion.
 .
 Currently this package is a pretty low-level effort, and you'll need to be familiar
 with FIT to get much value from it. Specifically, the notion of the FIT \"profile\" is
 ignored entirely, so to make use of the decoded file you'll need to reference the
 \"Profile.xls\" spreadsheet in the <http://www.thisisant.com/resources/fit FIT SDK>.
 .
 The "Fit" module exports a convenient set of data types for examining FIT files, as
 well as some lenses for extracting specific data. It's intended that the API in the
 "Fit" module should be sufficient and convenient for most uses, but if you need access
 to the exact structure of the file you can use the data types in "Fit.Internal.FitFile"
 and parsers in "Fit.Internal.Parse".
category:            Data, Parsing, Fitness
stability:           experimental
build-type:          Simple
cabal-version:       >=1.10

bug-reports:         https://github.com/mgiles/fit/issues
source-repository head
  type:              git
  location:          https://github.com/mgiles/fit/

library
  hs-source-dirs:      src
  exposed-modules:     Fit
                     , Fit.Messages
                     , Fit.Messages.Lens
                     , Fit.Internal.Architecture
                     , Fit.Internal.FitFile
                     , Fit.Internal.FitParser
                     , Fit.Internal.Numbers
                     , Fit.Internal.Parse
  ghc-options:         -Wall
  build-depends:       base >=4.7 && <4.8
                     , attoparsec >= 0.10.3
                     , bytestring
                     , text
                     , mtl >= 1.1
                     , containers >= 0.5
                     , contravariant
  default-language:    Haskell2010

test-suite test-fit
  type:              exitcode-stdio-1.0
  main-is:           test/TestFit.hs
  default-language:  Haskell2010
  ghc-options:       -Wall
  build-depends:      base >=4.7 && <4.8
                    , fit
                    , hspec
                    , hspec-attoparsec
                    , QuickCheck
                    , attoparsec
                    , bytestring
                    , text
                    , mtl
                    , containers