packages feed

mellon-gpio-0.7.1.1: mellon-gpio.cabal

Name:                   mellon-gpio
Version:                0.7.1.1
Cabal-Version:          >= 1.10
Build-Type:             Simple
Author:                 Drew Hess <dhess-src@quixoftic.com>
Maintainer:             Drew Hess <dhess-src@quixoftic.com>
Homepage:               https://github.com/quixoftic/mellon/
Bug-Reports:            https://github.com/quixoftic/mellon/issues/
Stability:              experimental
License:                BSD3
License-File:           LICENSE
Copyright:              Copyright (c) 2017, Quixoftic, LLC
Tested-With:            GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2
Category:               System
Synopsis:               GPIO support for mellon
Description:
  @mellon-gpio@ provides a GPIO-driven @mellon-core@ @Device@.
  Currently, it provides support for Linux @sysfs@-based GPIO.
Extra-Doc-Files:        README.md
Extra-Source-Files:     changelog.md

-- Build hlint test
Flag test-hlint
  Default: True
  Manual: True

Library
  Default-Language:     Haskell2010
  HS-Source-Dirs:       src
  GHC-Options:          -Wall -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates
  If impl(ghc > 8)
    GHC-Options:        -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -fno-warn-redundant-constraints
  Exposed-Modules:      Mellon.Device.GPIO
  Build-Depends:        base        >= 4.8   && < 5
                      , hpio        >= 0.8   && < 1
                      , mellon-core == 0.7.*

Test-Suite hlint
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       test
  Ghc-Options:          -w -threaded -rtsopts -with-rtsopts=-N
  Main-Is:              hlint.hs
  If !flag(test-hlint)
    Buildable:          False
  Else
    Build-Depends:      base
                      , hlint == 1.9.*

Source-Repository head
  Type:                 git
  Location:             git://github.com/quixoftic/mellon.git

Source-Repository this
  Type:                 git
  Location:             git://github.com/quixoftic/mellon.git
  Tag:                  v0.7.1.1