packages feed

hpio 0.9.0.6 → 0.9.0.7

raw patch · 22 files changed

+79/−55 lines, 22 filesdep ~QuickCheckdep ~containers

Dependency ranges changed: QuickCheck, containers

Files

LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2018, Quixoftic, LLC+Copyright (c) 2018, Drew Hess  All rights reserved. @@ -13,7 +13,7 @@       disclaimer in the documentation and/or other materials provided       with the distribution. -    * Neither the name of Quixoftic, LLC nor the names of other+    * Neither the name of Drew Hess nor the names of other       contributors may be used to endorse or promote products derived       from this software without specific prior written permission. 
README.md view
@@ -11,4 +11,4 @@ For details on usage, see the included tutorial module, or the `examples` directory in the source distribution. -[![Travis CI build status](https://travis-ci.org/quixoftic/hpio.svg?branch=master)](https://travis-ci.org/quixoftic/hpio)+[![Travis CI build status](https://travis-ci.org/dhess/hpio.svg?branch=master)](https://travis-ci.org/dhess/hpio)
changelog.md view
@@ -1,9 +1,20 @@-## 0.9.0.6 (2018-04-03)+## 0.9.0.7 (2019-01-04)  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.++Changes:++  - Support for Stackage LTS 12, LTS 13.+  - Support for GHC 8.4.4, 8.6.3.+  - Copyright for the project has been re-assigned to Drew Hess, its+    original author.+  - Drop support for nixpkgs-stackage overlays, no longer maintained+    upstream.++## 0.9.0.6 (2018-04-03)  Changes: 
hpio.cabal view
@@ -1,11 +1,11 @@--- This file has been generated from package.yaml by hpack version 0.27.0.+-- This file has been generated from package.yaml by hpack version 0.28.2. -- -- see: https://github.com/sol/hpack ----- hash: dc74eed8b17aa83c4650ab10e6059172f8787907900532262be2ac7f7c3dbaab+-- hash: d9e47c1a8a22910155bb15659be0573511d19efd753eeebab5fc00d5a651192f  name:                   hpio-version:                0.9.0.6+version:                0.9.0.7 synopsis:               Monads for GPIO in Haskell description:            This package provides an embedded DSL for writing cross-platform                         GPIO programs in Haskell. Currently only Linux is supported (via the@@ -21,29 +21,30 @@                         module, which explains how to use the cross-platform DSL. category:               System stability:              experimental-homepage:               https://github.com/quixoftic/hpio#readme-bug-reports:            https://github.com/quixoftic/hpio/issues-author:                 Drew Hess <dhess-src@quixoftic.com>-maintainer:             Drew Hess <dhess-src@quixoftic.com>-copyright:              Copyright (c) 2018, Quixoftic, LLC+homepage:               https://github.com/dhess/hpio#readme+bug-reports:            https://github.com/dhess/hpio/issues+author:                 Drew Hess <src@drewhess.com>+maintainer:             Drew Hess <src@drewhess.com>+copyright:              Copyright (c) 2018, Drew Hess license:                BSD3 license-file:           LICENSE-tested-with:            GHC==8.0.2 GHC==8.2.2 GHC==8.4.1+tested-with:            GHC==8.0.2 GHC==8.2.2 GHC==8.4.4 GHC==8.6.3 build-type:             Simple cabal-version:          >= 1.10- extra-source-files:     .hlint.yaml     changelog.md     package.yaml     README.md     stack-lts-11.yaml+    stack-lts-12.yaml+    stack-lts-13.yaml     stack-lts-9.yaml     stack.yaml  source-repository head   type: git-  location: https://github.com/quixoftic/hpio+  location: https://github.com/dhess/hpio  flag examples   description: Build the example programs@@ -75,10 +76,10 @@   c-sources:       src/System/GPIO/Linux/Sysfs/pollSysfs.c   build-depends:-      QuickCheck >=2.7.6 && <2.12+      QuickCheck >=2.7.6 && <2.13     , base >=4.7.0 && <5     , bytestring >=0.10.4 && <0.11-    , containers >=0.5.5 && <0.6+    , containers >=0.5.5 && <0.7     , directory >=1.2.1 && <1.4     , exceptions >=0.8.0 && <1     , filepath >=1.3.0 && <1.5
package.yaml view
@@ -1,13 +1,13 @@ name:        hpio-version:     0.9.0.6+version:     0.9.0.7 synopsis:    Monads for GPIO in Haskell category:    System stability:   experimental-author:      Drew Hess <dhess-src@quixoftic.com>-maintainer:  Drew Hess <dhess-src@quixoftic.com>-copyright:   Copyright (c) 2018, Quixoftic, LLC+author:      Drew Hess <src@drewhess.com>+maintainer:  Drew Hess <src@drewhess.com>+copyright:   Copyright (c) 2018, Drew Hess license:     BSD3-github:      quixoftic/hpio+github:      dhess/hpio  description: ! 'This package provides an embedded DSL for writing cross-platform @@ -31,7 +31,7 @@    module, which explains how to use the cross-platform DSL.' -tested-with: GHC==8.0.2 GHC==8.2.2 GHC==8.4.1+tested-with: GHC==8.0.2 GHC==8.2.2 GHC==8.4.4 GHC==8.6.3  flags:   test-hlint:@@ -113,10 +113,10 @@     - TypeSynonymInstances     - UndecidableInstances   dependencies:-    - QuickCheck          >=2.7.6  && <2.12+    - QuickCheck          >=2.7.6  && <2.13     - base                >=4.7.0  && <5     - bytestring          >=0.10.4 && <0.11-    - containers          >=0.5.5  && <0.6+    - containers          >=0.5.5  && <0.7     - directory           >=1.2.1  && <1.4     - exceptions          >=0.8.0  && <1     - filepath            >=1.3.0  && <1.5@@ -240,3 +240,5 @@   - stack.yaml   - stack-lts-9.yaml   - stack-lts-11.yaml+  - stack-lts-12.yaml+  - stack-lts-13.yaml
src/System/GPIO.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO Description : Top-level re-exports for writing GPIO programs-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux Description : Linux GPIO-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux/Sysfs.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs Description : GPIO in Linux via the @sysfs@ filesystem-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux/Sysfs/IO.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs.IO Description : Linux @sysfs@ GPIO operations in IO-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux/Sysfs/Mock.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs.Mock Description : A mock MonadSysfs instance.-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux/Sysfs/Mock/Internal.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs.Mock.Internal Description : Functions used by the mock MonadSysfs instance.-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux/Sysfs/Monad.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs.Monad Description : Monads for Linux @sysfs@ GPIO operations-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable @@ -580,7 +580,7 @@      -- (-1) timeout value above means the poll must either wait      -- forever or fail; so this indicates a major problem.      Nothing -> throwM $-       InternalError "pollPinValue timed out, and it should not have. Please file a bug at https://github.com/quixoftic/gpio"+       InternalError "pollPinValue timed out, and it should not have. Please file a bug at https://github.com/dhess/gpio"  -- | Same as 'pollPinValue', except that a timeout value, -- specified in microseconds, is provided. If no event occurs before
src/System/GPIO/Linux/Sysfs/Types.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs.Types Description : Types for Linux @sysfs@ GPIO-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Linux/Sysfs/Util.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Linux.Sysfs.Util Description : Useful low-level Linux @sysfs@ functions-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Monad.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Monad Description : A monad for GPIO computations-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
src/System/GPIO/Tutorial.hs view
@@ -769,7 +769,7 @@ not support interrupts, so we do not provide a runnable example in this tutorial. However, here is an example from an actual Linux system which demonstrates the use of 'pollPinTimeout' (a-<https://github.com/quixoftic/gpio/blob/master/examples/Gpio.hs similar program>+<https://github.com/dhess/gpio/blob/master/examples/Gpio.hs similar program> is included in @hpio@'s source distribution):  > -- interrupt.hs@@ -1113,7 +1113,7 @@  Here's an example of using a 'MonadGpio' program with the reader monad and the mock @sysfs@ GPIO interpreter. (A-<https://github.com/quixoftic/gpio/blob/master/examples/GpioReader.hs more sophisticated example>+<https://github.com/dhess/gpio/blob/master/examples/GpioReader.hs more sophisticated example> of using 'MonadGpio' with a reader transformer stack and a real (as opposed to mock) GPIO platform is provided in the @hpio@ source distribution.)@@ -1176,7 +1176,7 @@ > runTutorialReaderGpioIO program config = runSysfsIOT $ runSysfsGpioT $ runReaderT program config  (The earlier cited-<https://github.com/quixoftic/gpio/blob/master/examples/GpioReader.hs example program>+<https://github.com/dhess/gpio/blob/master/examples/GpioReader.hs example program> uses this very stack, albeit with a different reader environment.)  The part that's the same in both the mock transformer stack and the@@ -1366,7 +1366,7 @@  {- $copyright -This tutorial is copyright Quixoftic, LLC, 2018, and is licensed under the+This tutorial is copyright Drew Hess, 2018, and is licensed under the <http://creativecommons.org/licenses/by/4.0/ Creative Commons Attribution 4.0 International License>.  -}
src/System/GPIO/Types.hs view
@@ -1,9 +1,9 @@ {-| Module      : System.GPIO.Types Description : Basic GPIO types-Copyright   : (c) 2018, Quixoftic, LLC+Copyright   : (c) 2018, Drew Hess License     : BSD3-Maintainer  : Drew Hess <dhess-src@quixoftic.com>+Maintainer  : Drew Hess <src@drewhess.com> Stability   : experimental Portability : non-portable 
stack-lts-11.yaml view
@@ -1,5 +1,5 @@ require-stack-version: ">= 1.1.0" pvp-bounds: both-resolver: lts-11.3+resolver: lts-11.22 packages: - .
+ stack-lts-12.yaml view
@@ -0,0 +1,5 @@+require-stack-version: ">= 1.1.0"+pvp-bounds: both+resolver: lts-12.26+packages:+- .
+ stack-lts-13.yaml view
@@ -0,0 +1,5 @@+require-stack-version: ">= 1.1.0"+pvp-bounds: both+resolver: lts-13.1+packages:+- .
stack-lts-9.yaml view
@@ -1,6 +1,6 @@ require-stack-version: ">= 1.1.0" pvp-bounds: both-resolver: lts-9.6+resolver: lts-9.21 extra-deps: - protolude-0.2 packages:
stack.yaml view
@@ -1,5 +1,5 @@ require-stack-version: ">= 1.1.0" pvp-bounds: both-resolver: lts-11.3+resolver: lts-13.1 packages: - .