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.
Note that this will be the last release in the
0.9 series, excepting
critical bug fixes or security issues. The next release is expected to
(slightly) break module export compatibility, but in a way that should
not affect too many users.
test-hlint cabal flag is now disabled by default.
- Tested with GHC 8.2.2.
- Clean up the sdist to include just what's required for Cabal/Stack
- Updated copyright year.
- More Nix and Hydra improvements, including Nix/Hydra builds
against LTS package sets, rather than just the pinned Nixpkgs
Fixes: - All dependencies should now have PVP bounds.
Changes: - Bump QuickCheck, hlint bounds. - Add GHC 8.2.2 to .travis.yml. - Much improved Nix support, including a default fixed nixpkgs revision and Hydra jobsets. - Stackage LTS 10 support.
Fixes: - Fixed new hlint issues.
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.
Fixes: - Better Nix packaging. - Add a few missing files to extra-source-files.
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.
Fixes: - Bump QuickCheck bounds. - Bump optparse-applicative bounds. - Stack: update to lts-8.20.
Fixes: - Fix project URLs.
No changes; copyright for the project has been assigned to Quixoftic, LLC.
Fixes: - Fix hlint tests. - Note GHC 8.0.2 compatibility in cabal file.
Fixes: - Remove hspec upper bounds.
Fixes: - Bump directory bounds.
Fixes: - Support for optparse-applicative 0.13.x. - Bump hspec bounds.
Fixes: - Bump QuickCheck bounds.
Fixes: - Fix Stackage doctests issue (#48).
Fixes: - Fix sdist problem with test files (#47)