NXT-0.2.3: NXT.cabal
Name: NXT
Version: 0.2.3
Synopsis: A Haskell interface to Lego Mindstorms NXT
Description: A Haskell interface to Lego Mindstorms NXT over Bluetoooth. It supports direct commands, messages and
many sensors (also unofficial). It has also support for a simple message-based control of a NXT brick
via remotely executed program (basic NXC code included).
.
It contains three simple programs: @nxt-upload@ for uploading files to a NXT brick, @nxt-status@ for displaying
a NXT brick status, and @nxt-shutdown@ for remote shutdown of a NXT brick.
.
It works on Linux, Mac OS X and Windows.
.
Feel free to contribute additional features, interfaces for more sensors and propose or write other
(example) programs.
License: LGPL-3
License-file: LICENSE
Author: Mitar Milutinovic
Maintainer: mitar.haskell@tnode.com
Copyright: (c) 2011-2013 Mitar Milutinovic
Category: Robotics
Build-type: Simple
Cabal-version: >= 1.10
Stability: provisional
Homepage: http://mitar.tnode.com
Extra-source-files: remote/remote.rxe,
remote/remote.nxc,
ffi/blue.h,
tests/Main.hs,
tests/Robotics/NXT/Basic.hs
Library
Exposed-modules: Robotics.NXT,
Robotics.NXT.MotorControl,
Robotics.NXT.Remote,
Robotics.NXT.Sensor.Compass,
Robotics.NXT.Sensor.Ultrasonic
Build-depends: base >= 4.3 && < 5,
mtl >= 1.1 && < 3,
bytestring >= 0.9 && < 1,
time >= 1.1 && < 2,
serialport >= 0.4.3 && < 1
Other-modules: Robotics.NXT.Data,
Robotics.NXT.Errors,
Robotics.NXT.Protocol,
Robotics.NXT.Types,
Robotics.NXT.Internals,
Robotics.NXT.Externals,
Robotics.NXT.BluetoothUtils
HS-source-dirs: lib
GHC-options: -Wall
GHC-prof-options: -Wall
GHC-shared-options: -Wall
Default-language: Haskell2010
if !os(windows)
Build-depends: unix >= 2.4 && < 3
if os(linux)
C-sources: ffi/blue.c
Includes: ffi/blue.h
Extra-libraries: bluetooth
Source-repository head
type: git
location: git://github.com/mitar/nxt.git
Executable nxt-shutdown
Main-is: Shutdown.hs
HS-source-dirs: src
Build-depends: base >= 4.3 && < 5,
mtl >= 1.1 && < 3,
NXT == 0.2.3
GHC-options: -Wall
Default-language: Haskell2010
Executable nxt-status
Main-is: Status.hs
HS-source-dirs: src
Build-depends: base >= 4.3 && < 5,
mtl >= 1.1 && < 3,
NXT == 0.2.3
GHC-options: -Wall
Default-language: Haskell2010
Executable nxt-upload
Main-is: UploadFiles.hs
HS-source-dirs: src
Build-depends: base >= 4.3 && < 5,
mtl >= 1.1 && < 3,
bytestring >= 0.9 && < 1,
filepath >= 1.1 && < 2,
NXT == 0.2.3
GHC-options: -Wall
Default-language: Haskell2010
Test-suite nxt-tests
Type: exitcode-stdio-1.0
X-uses-tf: true
Build-depends: base >= 4,
HUnit >= 1.2 && < 2,
QuickCheck >= 2.4 && < 3,
test-framework >= 0.4 && < 1,
test-framework-quickcheck2 >= 0.2 && < 1,
test-framework-hunit >= 0.2 && < 1,
mtl >= 1.1 && < 3,
time >= 1.2 && < 2,
bytestring >= 0.9 && < 1.0,
filepath >= 1.2 && < 2,
NXT == 0.2.3
GHC-options: -Wall -rtsopts
Default-language: Haskell2010
HS-source-dirs: tests
Main-is: Main.hs
Other-modules: Robotics.NXT.Basic