packages feed

mcpi-0.0.0.2: mcpi.cabal

Name:           mcpi
Version:        0.0.0.2
Homepage:       https://github.com/DougBurke/hmcpi
Bug-Reports:    https://github.com/DougBurke/hmcpi/issues
Stability:      experimental
License:        PublicDomain
Author:         Douglas Burke (dburke.gw@gmail.com)
Maintainer:     dburke.gw@gmail.com
Category:       network, raspberrypi, minecraft
Synopsis:       Connect to MineCraft running on a Raspberry PI.
Description:
  The MineCraft edition for Raspberry PI comes with a Java and
  Python API. See "Network.MineCraft.Pi.Client" for a basic
  example.
  .
  This is a *very* basic, and *incomplete* Haskell version. I
  fully expect everything to change in later versions.
  .
  A number of very simple examples are included in the examples/ directory,
  as well as a program that lets you interact with MineCraft directly.
  .
  Please see the TODO.md file in the source code for an incomplete
  list of possible changes, and the CHANGES.md file for changes
  in the module.

Tested-With:    GHC==7.4.1
Cabal-Version:  >= 1.8
Build-Type:     Simple

Data-Files:     examples/README.md
                examples/*.hs

source-repository  head
  type:            git
  location:        git://github.com/DougBurke/hmcpi.git

Flag build-examples
  Description: Build the example programs (defaults to True)
  Default:     True

Library
   Build-Depends:
      base >=3 && < 5,
      network >= 2.3 && < 2.5,
      split == 0.2.*,
      transformers == 0.3.*

   Hs-Source-Dirs: src/

   Exposed-Modules:
      Network.MineCraft.Pi.Client
      Network.MineCraft.Pi.Client.Internal
      Data.MineCraft.Pi.Block
      Data.MineCraft.Pi.Camera
      Data.MineCraft.Pi.Other
      Data.MineCraft.Pi.Player
      Data.MineCraft.Pi.Types

   ghc-options:
      -Wall

Executable         flatten
   if !flag(build-examples)
     Buildable: False

   Main-Is:        Flatten.hs
   Hs-Source-Dirs: examples/ 

   ghc-options:
      -Wall

   Build-Depends:
      base,
      mcpi,
      transformers

Executable         freefall
   if !flag(build-examples)
     Buildable: False

   Main-Is:        Freefall.hs
   Hs-Source-Dirs: examples/ 

   ghc-options:
      -Wall

   Build-Depends:
      base,
      mcpi,
      transformers

Executable         hmcpi
   if !flag(build-examples)
     Buildable: False

   Main-Is:        HMCPI.hs
   Hs-Source-Dirs: examples/ 
   Other-Modules:  Paths_mcpi

   ghc-options:
      -Wall

   Build-Depends:
      base,
      network,
      pipes >= 3.0 && < 3.2

Executable         isongold
   if !flag(build-examples)
     Buildable: False

   Main-Is:        IsOnGold.hs
   Hs-Source-Dirs: examples/ 

   ghc-options:
      -Wall

   Build-Depends:
      base,
      mcpi

Executable         xjump
   if !flag(build-examples)
     Buildable: False

   Main-Is:        XJump.hs
   Hs-Source-Dirs: examples/ 

   ghc-options:
      -Wall

   Build-Depends:
      base,
      mcpi