packages feed

fen2s-1.2: fen2s.cabal

name: fen2s
version: 1.2
category: Game
synopsis: Converting a chess position from FEN notation to text
license: MIT
license-file: LICENSE
cabal-version: >= 1.8.0.2
build-type: Simple
author: Joe Leslie-Hurd <joe@gilith.com>
maintainer: Joe Leslie-Hurd <joe@gilith.com>
description:
  This package implements a simple utility to read in a chess position
  described in FEN notation and print it using Unicode characters.

Library
  build-depends:
    base >= 4.0 && < 5.0,
    opentheory-unicode >= 1.0 && < 2.0,
    api-opentheory-unicode >= 1.0 && < 2.0
  hs-source-dirs: src
  ghc-options: -Wall
  exposed-modules:
    Chess

executable fen2s
  build-depends:
    base >= 4.0 && < 5.0,
    opentheory-unicode >= 1.0 && < 2.0,
    api-opentheory-unicode >= 1.0 && < 2.0
  hs-source-dirs: src
  ghc-options: -Wall
  main-is: Main.hs

test-suite fen2s-test
  type: exitcode-stdio-1.0
  build-depends:
    base >= 4.0 && < 5.0,
    opentheory-unicode >= 1.0 && < 2.0,
    api-opentheory-unicode >= 1.0 && < 2.0
  hs-source-dirs: src
  ghc-options: -Wall
  main-is: Test.hs