packages feed

diagrams-qrcode-1.1.2: diagrams-qrcode.cabal

name:                diagrams-qrcode
version:             1.1.2
synopsis:            Draw QR codes to SVG, PNG, PDF or PS files.
homepage:            https://github.com/prowdsponsor/diagrams-qrcode
license:             BSD3
license-file:        LICENSE
author:              Felipe Lessa <felipe.lessa@prowdsponsor.com>
maintainer:          Felipe Lessa <felipe.lessa@prowdsponsor.com>
copyright:           (c) 2012-2014 Prowdsponsor <opensource@prowdsponsor.com>
category:            Graphics
build-type:          Simple
cabal-version:       >=1.8
description:
  This library is able to draw diagrams of QR codes using the
  @diagrams@ library.  In order to create the QR code itself, you
  may use either the @haskell-qrencode@ library or @qrcode@
  library, both are supported.  In order to draw and save the
  diagram to a file, we suggest using either the @diagrams-svg@
  library (pure Haskell, fast, SVG output only) or the
  @diagrams-cairo@ library (requires Cairo, supports many
  different output targets, including SVG, PNG, PDF, PS and
  directly onto a GUI).
  .
  For an example of how this library may be used, please see the
  examples on the source code.
extra-source-files:
  README.md
  examples/using-haskell-qrencode.hs
  examples/using-qrcode.hs
  examples/qrcode.svg

source-repository head
  type:     git
  location: git://github.com/prowdsponsor/diagrams-qrcode.git

library
  exposed-modules:
    Diagrams.QRCode
  build-depends:
      base          >= 4.5 && < 4.8
    , array
    , colour
    , diagrams-core == 1.1.*
    , diagrams-lib  == 1.1.*
  hs-source-dirs: src/
  ghc-options: -Wall