Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
114 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,114 +1,114 @@ | |||
Name: NXT | Name: NXT | ||
Version: 0.2.2 | Version: 0.2.3 | ||
Synopsis: A Haskell interface to Lego Mindstorms NXT | Synopsis: A Haskell interface to Lego Mindstorms NXT | ||
Description: A Haskell interface to Lego Mindstorms NXT over Bluetoooth. It supports direct commands, messages and | 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 | 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). | 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 | 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. | a NXT brick status, and @nxt-shutdown@ for remote shutdown of a NXT brick. | ||
. | . | ||
It works on Linux, Mac OS X and Windows. | It works on Linux, Mac OS X and Windows. | ||
. | . | ||
Feel free to contribute additional features, interfaces for more sensors and propose or write other | Feel free to contribute additional features, interfaces for more sensors and propose or write other | ||
(example) programs. | (example) programs. | ||
License: LGPL-3 | License: LGPL-3 | ||
License-file: LICENSE | License-file: LICENSE | ||
Author: Mitar Milutinovic | Author: Mitar Milutinovic | ||
Maintainer: mitar.haskell@tnode.com | Maintainer: mitar.haskell@tnode.com | ||
Copyright: (c) 2011-2012 Mitar Milutinovic | Copyright: (c) 2011-2013 Mitar Milutinovic | ||
Category: Robotics | Category: Robotics | ||
Build-type: Simple | Build-type: Simple | ||
Cabal-version: >= 1.10 | Cabal-version: >= 1.10 | ||
Stability: provisional | Stability: provisional | ||
Homepage: http://mitar.tnode.com | Homepage: http://mitar.tnode.com | ||
Extra-source-files: remote/remote.rxe, | Extra-source-files: remote/remote.rxe, | ||
remote/remote.nxc, | remote/remote.nxc, | ||
ffi/blue.h, | ffi/blue.h, | ||
tests/Main.hs, | tests/Main.hs, | ||
tests/Robotics/NXT/Basic.hs | tests/Robotics/NXT/Basic.hs | ||
|
|
||
Library | Library | ||
Exposed-modules: Robotics.NXT, | Exposed-modules: Robotics.NXT, | ||
Robotics.NXT.MotorControl, | Robotics.NXT.MotorControl, | ||
Robotics.NXT.Remote, | Robotics.NXT.Remote, | ||
Robotics.NXT.Sensor.Compass, | Robotics.NXT.Sensor.Compass, | ||
Robotics.NXT.Sensor.Ultrasonic | Robotics.NXT.Sensor.Ultrasonic | ||
Build-depends: base >= 4.3 && < 5, | Build-depends: base >= 4.3 && < 5, | ||
mtl >= 1.1 && < 3, | mtl >= 1.1 && < 3, | ||
bytestring >= 0.9 && < 1, | bytestring >= 0.9 && < 1, | ||
time >= 1.1 && < 2, | time >= 1.1 && < 2, | ||
serialport >= 0.4.3 && < 1 | serialport >= 0.4.3 && < 1 | ||
Other-modules: Robotics.NXT.Data, | Other-modules: Robotics.NXT.Data, | ||
Robotics.NXT.Errors, | Robotics.NXT.Errors, | ||
Robotics.NXT.Protocol, | Robotics.NXT.Protocol, | ||
Robotics.NXT.Types, | Robotics.NXT.Types, | ||
Robotics.NXT.Internals, | Robotics.NXT.Internals, | ||
Robotics.NXT.Externals, | Robotics.NXT.Externals, | ||
Robotics.NXT.BluetoothUtils | Robotics.NXT.BluetoothUtils | ||
HS-source-dirs: lib | HS-source-dirs: lib | ||
GHC-options: -Wall | GHC-options: -Wall | ||
GHC-prof-options: -Wall | GHC-prof-options: -Wall | ||
GHC-shared-options: -Wall | GHC-shared-options: -Wall | ||
Default-language: Haskell2010 | Default-language: Haskell2010 | ||
|
|
||
if !os(windows) | if !os(windows) | ||
Build-depends: unix >= 2.4 && < 3 | Build-depends: unix >= 2.4 && < 3 | ||
|
|
||
if os(linux) | if os(linux) | ||
C-sources: ffi/blue.c | C-sources: ffi/blue.c | ||
Includes: ffi/blue.h | Includes: ffi/blue.h | ||
Extra-libraries: bluetooth | Extra-libraries: bluetooth | ||
|
|
||
Source-repository head | Source-repository head | ||
type: mercurial | type: git | ||
location: https://bitbucket.org/mitar/nxt | location: git://github.com/mitar/nxt.git | ||
|
|
||
Executable nxt-shutdown | Executable nxt-shutdown | ||
Main-is: Shutdown.hs | Main-is: Shutdown.hs | ||
HS-source-dirs: src | HS-source-dirs: src | ||
Build-depends: base >= 4.3 && < 5, | Build-depends: base >= 4.3 && < 5, | ||
mtl >= 1.1 && < 3, | mtl >= 1.1 && < 3, | ||
NXT == 0.2.2 | NXT == 0.2.3 | ||
GHC-options: -Wall | GHC-options: -Wall | ||
Default-language: Haskell2010 | Default-language: Haskell2010 | ||
|
|
||
Executable nxt-status | Executable nxt-status | ||
Main-is: Status.hs | Main-is: Status.hs | ||
HS-source-dirs: src | HS-source-dirs: src | ||
Build-depends: base >= 4.3 && < 5, | Build-depends: base >= 4.3 && < 5, | ||
mtl >= 1.1 && < 3, | mtl >= 1.1 && < 3, | ||
NXT == 0.2.2 | NXT == 0.2.3 | ||
GHC-options: -Wall | GHC-options: -Wall | ||
Default-language: Haskell2010 | Default-language: Haskell2010 | ||
|
|
||
Executable nxt-upload | Executable nxt-upload | ||
Main-is: UploadFiles.hs | Main-is: UploadFiles.hs | ||
HS-source-dirs: src | HS-source-dirs: src | ||
Build-depends: base >= 4.3 && < 5, | Build-depends: base >= 4.3 && < 5, | ||
mtl >= 1.1 && < 3, | mtl >= 1.1 && < 3, | ||
bytestring >= 0.9 && < 1, | bytestring >= 0.9 && < 1, | ||
filepath >= 1.1 && < 2, | filepath >= 1.1 && < 2, | ||
NXT == 0.2.2 | NXT == 0.2.3 | ||
GHC-options: -Wall | GHC-options: -Wall | ||
Default-language: Haskell2010 | Default-language: Haskell2010 | ||
|
|
||
Test-suite nxt-tests | Test-suite nxt-tests | ||
Type: exitcode-stdio-1.0 | Type: exitcode-stdio-1.0 | ||
X-uses-tf: true | X-uses-tf: true | ||
Build-depends: base >= 4, | Build-depends: base >= 4, | ||
HUnit >= 1.2 && < 2, | HUnit >= 1.2 && < 2, | ||
QuickCheck >= 2.4 && < 3, | QuickCheck >= 2.4 && < 3, | ||
test-framework >= 0.4 && < 1, | test-framework >= 0.4 && < 1, | ||
test-framework-quickcheck2 >= 0.2 && < 1, | test-framework-quickcheck2 >= 0.2 && < 1, | ||
test-framework-hunit >= 0.2 && < 1, | test-framework-hunit >= 0.2 && < 1, | ||
mtl >= 1.1 && < 3, | mtl >= 1.1 && < 3, | ||
time >= 1.2 && < 2, | time >= 1.2 && < 2, | ||
bytestring >= 0.9 && < 1.0, | bytestring >= 0.9 && < 1.0, | ||
filepath >= 1.2 && < 2, | filepath >= 1.2 && < 2, | ||
NXT == 0.2.2 | NXT == 0.2.3 | ||
GHC-options: -Wall -rtsopts | GHC-options: -Wall -rtsopts | ||
Default-language: Haskell2010 | Default-language: Haskell2010 | ||
HS-source-dirs: tests | HS-source-dirs: tests | ||
Main-is: Main.hs | Main-is: Main.hs | ||
Other-modules: Robotics.NXT.Basic | Other-modules: Robotics.NXT.Basic |