packages feed

dice-0.1.1: dice.cabal

cabal-version:          3.0
name:                   dice
version:                0.1.1
stability:              work-in-progress

build-type:             Simple

author:                 James Cook <mokus@deepbondi.net>
maintainer:             Naïm Favier <n@monade.li>
license:                Unlicense

category:               Game
synopsis:               Simplistic D&D style dice-rolling system.
description:            Simplistic D&D style dice-rolling system.

                        > $ dice "2d10 + 2 * (d100 / d6)"
                        > (5+2) + 2 * 64 / 2 => 71

bug-reports:            https://github.com/ncfavier/dice/issues

extra-source-files:
  CHANGELOG

source-repository head
  type: git
  location: git://github.com/ncfavier/dice.git

common common
  hs-source-dirs:       src
  build-depends:        base >= 3 && < 5, random >= 1.2, random-fu >= 0.3, parsec, mtl
  default-language:     Haskell2010

library
  import:               common
  exposed-modules:      Data.Random.Dice

executable dice
  import:               common
  other-modules:        Data.Random.Dice
  main-is:              Dice.hs