name: hidapi version: 0.1.3 build-type: Simple cabal-version: >= 1.6 category: Hardware author: Patrick Chilton , Niklas Hambüchen maintainer: Patrick Chilton homepage: https://github.com/vahokif/haskell-hidapi bug-reports: https://github.com/vahokif/haskell-hidapi/issues synopsis: Haskell bindings to HIDAPI description: Haskell bindings to the HIDAPI library (). license: MIT license-file: LICENSE extra-source-files: cbits/hidapi/hidapi.h source-repository head type: git location: git://github.com/vahokif/haskell-hidapi.git library exposed-modules: System.HIDAPI build-depends: base < 5 , bytestring >= 0.9.2.1 , deepseq-generics >= 0.1 -- hidapi is not packaged for many distributions, and seems to -- expect to be included in the software that uses it, so we do that include-dirs: cbits/hidapi includes: hidapi.h if os(windows) c-sources: cbits/hidapi/windows/hid.c extra-libraries: setupapi else if os(darwin) c-sources: cbits/hidapi/mac/hid.c else c-sources: cbits/hidapi/linux/hid.c extra-libraries: udev