blink1-0.2: blink1.cabal
Name: blink1
Version: 0.2
Author: Dylan Simon
Maintainer: dylan@dylex.net
License: BSD3
License-File: LICENSE
Synopsis: Control library for blink(1) LED from ThingM
Description: Provides an interface to the ThingM blink(1) LED <http://thingm.com/products/blink-1.html> similar to (but not dependent on) <http://github.com/todbot/blink1> via Linux hidraw or the libusb-based usb package.
Category: Hardware
Build-Type: Simple
Cabal-Version: >= 1.6
tested-with: GHC == 7.6.1
Source-Repository head
Type: git
Location: http://github.com/dylex/blink
Flag usb
Description: Enable libusb-based usb interface
Library
Build-Depends: base == 4.*
Exposed-Modules: System.Hardware.Blink1
Other-Modules: System.Hardware.Blink1.Types, System.Hardware.Blink1.Class
if os(linux)
Build-Depends: unix, ioctl
Exposed-Modules: System.Hardware.Blink1.Linux
Other-Modules: System.Linux.HIDRaw
if flag(usb)
Build-Depends: usb, bindings-libusb, vector, text, bytestring
Exposed-Modules: System.Hardware.Blink1.USB