packages feed

snorkels-0.2.0.0: snorkels.cabal

-- Initial snorkels.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                snorkels

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.2.0.0

-- A short (one-line) description of the package.
synopsis:           Strategic board game of medium complexity

-- A longer description of the package.
description:        Implementation in Haskell of the strategic board game
                    Snorkels. Snorkels is often used as a first step when
                    teaching people to play Go.

-- The license under which the package is released.
license:             GPL-3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Linus Heckemann & Unai Zalakain

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          linus@sphalerite.org & contact@unaizalakain.info

-- A copyright notice.
-- copyright:

category:            Game

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files: README.md

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10


executable snorkels
  -- .hs or .lhs file containing the Main module.
  main-is:             Main.hs

  -- Modules included in this executable, other than Main.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  other-extensions:    FlexibleInstances

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.8 && <4.9,
                       monad-loops >=0.4 && <0.5,
                       random >=1.1 && <1.2,
                       containers >=0.5 && <0.6,
                       ansi-terminal >=0.6 && <0.7,
                       bimap >=0.3.2 && <0.3.3,
                       parsec >=3.1.11 && <3.1.12,
                       optparse-applicative >=0.13.0 && <0.13.1

  -- Directories containing source files.
  hs-source-dirs:      src

  -- Base language which the package is written in.
  default-language:    Haskell2010


library
  -- Modules exported by the library.
  exposed-modules:     Snorkels.CLI,
                       Snorkels.Board,
                       Snorkels.Game,
                       Snorkels.Types,
                       Snorkels.Play,
                       Snorkels.RandomAgent

  -- Modules included in this library but not exported.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  other-extensions:    FlexibleInstances

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.8 && <4.9,
                       monad-loops >=0.4 && <0.5,
                       random >=1.1 && <1.2,
                       containers >=0.5 && <0.6,
                       ansi-terminal >=0.6 && <0.7,
                       bimap >=0.3.2 && <0.3.3,
                       parsec >=3.1.11 && <3.1.12,
                       optparse-applicative >=0.13.0 && <0.13.1

  -- Directories containing source files.
  hs-source-dirs:      src

  -- Base language which the package is written in.
  default-language:    Haskell2010