BSD-3-Clause licensed and maintained by Drew Hess
This version can be pinned in stack with:hpio-0.9.0.2@sha256:7173ca6e7c61ad09105ba3255a8302aa94b934f59dbe65cf3fd1cd4b2903451f,8935

hpio

hpio provides support for writing GPIO programs in Haskell. It includes an embedded DSL for writing platform-independent programs, along with low-level monads and IO functions which provide direct access to each supported platform’s native GPIO API.

Currently only the Linux sysfs GPIO filesystem is supported, but support for other Unix GPIO platforms is planned.

For details on usage, see the included tutorial module, or the examples directory in the source distribution.

Travis CI build status

Changes

0.9.0.2 (2017-10-18)

Changes:

  • Revert to manual imports in top-level modules for better Haddocks.

Fixes:

  • Fix source path in hpio.nix.
  • Remove macOS builds from Travis-CI config; they’re just too slow.

0.9.0.1 (2017-10-16)

Fixes:

  • Better Nix packaging.
  • Add a few missing files to extra-source-files.

0.9.0.0 (2017-10-02)

Changes:

  • This project now uses Protolude (0.2.*). I believe the only visible API change is that SysfsException’s string type is now Text, instead of String.
  • Add monad and transformer instances for transformers-base, monad-control, and monad-logger monads.
  • Use DefaultSignatures and ConstraintKinds to simplify the implementation.
  • Use hpack to generate the project’s Cabal file.

Fixes:

  • Add some new compile-time warnings.
  • Remove redundant Functor and Applicative constraints.
  • Update Travis-CI config to test against more recent Stackage LTS and GHC releases.
  • Remove most of the Travis-CI macOS jobs; they’re really slow.
  • Get all supported GHC/Stackage LTS versions to build again.

0.8.0.10 (2017-06-28)

Fixes:

  • Bump QuickCheck bounds.
  • Bump optparse-applicative bounds.
  • Stack: update to lts-8.20.

0.8.0.9 (2017-05-24)

Fixes:

  • Fix project URLs.

0.8.0.8 (2017-05-24)

No changes; copyright for the project has been assigned to Quixoftic, LLC.

0.8.0.7 (2017-02-21)

Fixes:

  • Fix hlint tests.
  • Note GHC 8.0.2 compatibility in cabal file.

0.8.0.6 (2017-01-25)

Fixes:

  • Remove hspec upper bounds.

0.8.0.5 (2017-01-11)

Fixes:

  • Bump directory bounds.

0.8.0.4 (2016-10-26)

Fixes:

  • Support for optparse-applicative 0.13.x.
  • Bump hspec bounds.

0.8.0.3 (2016-07-15)

Fixes:

  • Bump QuickCheck bounds.

0.8.0.2 (2016-06-08)

Fixes:

  • Fix Stackage doctests issue (#48).

0.8.0.1 (2016-05-30)

Fixes:

  • Fix sdist problem with test files (#47)

0.8.0.0 (2016-05-27)

Initial release.