-- Initial puzzle-draw.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ -- The name of the package. name: puzzle-draw -- 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.1.0.0 -- A short (one-line) description of the package. synopsis: Creating graphics for pencil puzzles. -- A longer description of the package. description: puzzle-draw is a library for drawing pencil puzzles using Diagrams. It aims to provide a utility layer on top of Diagrams to help with drawing arbitrary puzzles, as well as supporting several specific puzzle types directly. In addition, it includes functionality for parsing puzzle data from a YAML file format. -- The license under which the package is released. license: MIT -- The file containing the license text. license-file: LICENSE -- The package author(s). author: Robert Vollmert -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: rfvollmert@gmail.com -- A copyright notice. -- copyright: category: Graphics build-type: Simple -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.8 Source-repository head type: git location: http://github.com/robx/puzzle-draw.git library -- Modules exported by the library. exposed-modules: Data.Puzzles.Grid Data.Puzzles.GridShape Data.Puzzles.Elements Data.Puzzles.Pyramid Data.Puzzles.Sudoku Data.Puzzles.Compose Data.Puzzles.PuzzleTypes Text.Puzzles.Util Text.Puzzles.Puzzle Text.Puzzles.PuzzleTypes Diagrams.Puzzles.Grid Diagrams.Puzzles.Lib Diagrams.Puzzles.Elements Diagrams.Puzzles.Widths Diagrams.Puzzles.Pyramid Diagrams.Puzzles.PuzzleGrids Diagrams.Puzzles.PuzzleTypes Diagrams.Puzzles.Draw -- Modules included in this library but not exported. -- other-modules: -- Other library packages from which modules are imported. build-depends: base >= 4.2 && < 4.8, diagrams-lib >= 1.1 && < 1.2, parsec >= 3.1 && < 3.2, yaml >= 0.8.4 && < 0.9, aeson >= 0.7 && < 0.8, unordered-containers >= 0.2 && < 0.3, containers >= 0.5 && < 0.6, hashable >= 1.2 && < 1.3, text >= 1.1 && < 1.2, SVGFonts >= 1.4 && < 1.5 hs-source-dirs: src ghc-options: -Wall test-suite test type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: tests.hs build-depends: base >= 4.2 && < 4.8, tasty >= 0.8 && < 0.9, tasty-hunit >= 0.8 && < 0.9, yaml >= 0.8.4 && < 0.9, text >= 1.1 && < 1.2, deepseq >= 1.3 && < 1.4, blaze-svg >= 0.3 && < 0.4, diagrams-lib >= 1.1 && < 1.2, diagrams-svg >= 1.0 && < 1.1, bytestring >= 0.10 && < 0.11, puzzle-draw ghc-options: -Wall