cairo-canvas-0.1.0.1: cairo-canvas.cabal
name: cairo-canvas
version: 0.1.0.1
synopsis: Simpler drawing API for Cairo.
description: This library provides an alternative drawing API for
Cairo which is heavily inspired by Processing and
is much more user-friendly. If it does not support something,
you can always embed direct Cairo commands.
license: MIT
license-file: LICENSE
author: Anton Pirogov
maintainer: anton.pirogov@gmail.com
copyright: Copyright (c) 2017 Anton Pirogov
category: Graphics
build-type: Simple
cabal-version: >=1.10
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules: Graphics.Rendering.Cairo.Canvas
--other-modules:
build-depends: base >=4.7 && <5
, cairo >= 0.13.12 && < 0.14
, mtl >= 2.3.1 && < 2.4
, time >= 1.12.2 && < 1.13
, random >= 1.3.1 && < 1.4
, linear >= 1.23.1 && < 1.24
flag builddemo
description: Build the little demo
default: False
executable cairo-canvas-test
hs-source-dirs: example
main-is: Main.hs
default-language: Haskell2010
default-extensions: OverloadedStrings
if flag(builddemo)
build-depends: base >=4 && <5
, sdl2 >=2.1.0
, cairo >=0.13
, sdl2-cairo
, cairo-canvas
, linear
, mtl
, random
, time
else
buildable: False
source-repository head
type: git
location: https://github.com/apirogov/cairo-canvas.git