packages feed

drawille-0.1.2.0: drawille.cabal

-- This file has been generated from package.yaml by hpack version 0.14.0.
--
-- see: https://github.com/sol/hpack

name:                   drawille
version:                0.1.2.0
synopsis:               A port of asciimoo's drawille to haskell
description:            A tiny library for drawing with braille.
category:               System
homepage:               https://github.com/yamadapc/haskell-drawille#readme
bug-reports:            https://github.com/yamadapc/haskell-drawille/issues
author:                 Pedro Yamada <tacla.yamada@gmail.com>
maintainer:             Pedro Yamada <tacla.yamada@gmail.com>
copyright:              (c) Pedro Yamada
license:                GPL-3
license-file:           LICENSE
build-type:             Simple
cabal-version:          >= 1.10

source-repository head
  type: git
  location: https://github.com/yamadapc/haskell-drawille

flag examples
  description: Build examples
  manual: False
  default: False

flag no-tests
  description: Don't build test suites
  manual: False
  default: False

library
  hs-source-dirs:
      src
  build-depends:
      base >=4 && <5
    , containers >=0.5 && <0.6
  exposed-modules:
      System.Drawille
  other-modules:
      Paths_drawille
  default-language: Haskell2010

executable image2term
  main-is: Image2Term.hs
  hs-source-dirs:
      examples
    , src
  ghc-options: -Wall -threaded -O3
  if flag(examples)
    build-depends:
        base >=4 && <5
      , containers >=0.5
      , friday >=0.1 && <0.2
      , terminal-size >=0.2
      , vector
  else
    buildable: False
  other-modules:
      Senoid
      System.Drawille
  default-language: Haskell2010

executable senoid
  main-is: Senoid.hs
  hs-source-dirs:
      examples
    , src
  ghc-options: -threaded -Wall -O3
  if flag(examples)
    build-depends:
        base >=4 && <5
      , containers >=0.5 && <0.6
      , AC-Angle >=1.0 && <1.1
  else
    buildable: False
  other-modules:
      Image2Term
      System.Drawille
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      src
    , test
  ghc-options: -Wall
  if !(flag(no-tests))
    build-depends:
        base >=4 && <5
      , hspec >=1.11 && <2.4
      , QuickCheck >=2.6
      , containers >=0.5 && <0.6
  else
    buildable: False
  other-modules:
      System.Drawille
      DrawilleSpec
  default-language: Haskell2010