-- Initial bluetooth.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: simple-bluetooth
version: 0.1.0.0
synopsis: Simple Bluetooth API for Windows and Linux (bluez)
description: You must use 'Network.withSocketsDo' at the start of your program
for Windows compatibility.
license: BSD3
license-file: LICENSE
author: Stephen Blackheath
maintainer: docks.cattlemen.stephen@blacksapphire.com
-- copyright:
category: Network
build-type: Simple
extra-source-files: examples/discover.hs
cabal-version: >=1.10
library
exposed-modules:
Network.Bluetooth
Network.Bluetooth.Adapter
Network.Bluetooth.Device
other-modules:
Network.Bluetooth.Types
if os(windows)
other-modules:
Network.Bluetooth.Win32
build-depends: base >=4.5 && <5,
network,
bytestring
if os(windows)
build-depends: Win32
default-language: Haskell2010
if os(windows)
extra-libraries: ws2_32
include-dirs: Network/Bluetooth/
else
extra-libraries: bluetooth