LGPL-3 licensed by Swift Navigation Inc.
Maintained by Mark Fine

Module documentation for 2.2.12

SBP Bindings for Haskell

Haskell client for Swift Binary Protocol (SBP).

Requirements

haskell-stack: Instructions here.

Install from Hackage

Available on Hackage as sbp.

The library supports building against Stackage LTS-6 and LTS-8. To install from Hackage using stack:

$ stack install --resolver lts-6.35 sbp # (LTS-6)

or

$ stack install --resolver lts-8.24 sbp # (LTS-8)

Note that we explicitly specify the resolvers to use, as installing libsbp may fail to build with more recent resolvers.

Building with cabal is possible but not supported and may fail to build.

Setup

To build:

$ stack build

To install:

$ stack install

To test and benchmark:

$ stack test && stack bench

To deploy to Hackage:

$ stack upload

Publishing

To publish to Hackage, use the publish-lower recipe in the Shakefile.hs with LTS-6 stack.yaml:

$ STACK_YAML=stack-lts-6.yaml ./Shakefile.hs publish-lower

References

LICENSE

Copyright © 2015 Swift Navigation Inc.

comments powered byDisqus