tcod-haskell: Bindings to libtcod roguelike engine

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Haskell bindings for popular library for making roguelike games


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.0.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.7), inline-c (>=0.5 && <0.8), repa (>=3.4 && <3.5), sdl2 (>=2.2 && <2.6), tcod-haskell, vector (>=0.12 && <0.13) [details]
License BSD-3-Clause
Copyright 2017 Anton Gushcha
Author Anton Gushcha
Maintainer ncrashed@gmail.com
Category Game
Home page https://github.com/ncrashed/tcod-haskell#readme
Source repo head: git clone https://github.com/ncrashed/tcod-haskell
Uploaded by NCrashed at 2019-12-19T22:37:47Z

Modules

Flags

Automatic Flags
NameDescriptionDefault
examples

build engine examples

Disabled
use-pkg-config

Use pkg-config to check for library dependences

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for tcod-haskell-0.3.0.0

[back to package description]

tcod-haskell

These are midlevel bindings for libtcod.

Compile

Needed system libraries:

Steps:

  1. Install stack or cabal+GHC from https://www.haskell.org/downloads
  2. Install libtcod in your system (version >= 1.8.2).
  3. Run stack install --flags tcod-haskell:examples or cabal sandbox new && cabal install --flags=examples
  4. Run example tcod-haskell-sample01 in root folder of repo (or copy terminal.png to execution directory).

Nix pipeline

Steps:

  1. Install Nix
  2. Run nix-build
  3. For interactive shell nis-shell
  4. Run example in shell cabal new-run --flag examples tcod-haskell-sample01

Roadmap

Binded headers: