-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchesshs.cabal
29 lines (25 loc) · 961 Bytes
/
chesshs.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Name: chesshs
Version: 0.2.1
Synopsis: Simple library for validating chess moves and parsing PGN files
Description: With this library you can load chess boards from FEN and PGN notation and apply moves to the boards. Moves will only be allowed if they are valid under the normal chess rules.
License: BSD3
License-file: LICENSE
Author: Arno van Lumig
Maintainer: [email protected]
homepage: http://arnovanlumig.com/chesshs.html
Category: Game
Build-type: Simple
Cabal-version: >=1.2
Flag no-pgn
Description: don't include the PGN parser, this removes the attoparsec dependency
Default: False
Library
exposed-modules: Chess, Chess.FEN, Chess.PGN
Build-depends:
bytestring >= 0.9.0.0,
base >= 4.7 && < 5,
containers >= 0.4,
array >= 0.3.0.0
if !flag(no-pgn)
build-depends:
attoparsec >= 0.10.0.0