packages feed

streaming-png-0.1.0.0: streaming-png.cabal

name:                streaming-png
version:             0.1.0.0
synopsis:            Perfectly streaming PNG image decoding
description:         Please see README.md
homepage:            http://github.com/bch29/streaming-png#readme
license:             BSD3
license-file:        LICENSE
author:              Bradley Hardy
maintainer:          bradleyhardy@live.com
copyright:           (C) Bradley Hardy 2015
category:            Codec, Graphics, Image, Streaming
build-type:          Simple
cabal-version:       >=1.10

flag build-demo
  description: Build the executable demo.
  default: False

executable streaming-png-demo
  hs-source-dirs:      demo
  main-is:             Main.hs
  default-language:    Haskell2010
  if flag(build-demo)
    build-depends:       JuicyPixels
                       , base >= 4.7 && < 5
                       , criterion >= 1.1.0.0
                       , resourcet
                       , streaming
                       , streaming-bytestring
                       , streaming-png
                       , transformers
                       , bytestring
  else
    buildable: False

library
  hs-source-dirs:      src

  exposed-modules:     Codec.Picture.Png.Streaming
                     , Codec.Picture.Png.Streaming.Util
                     , Codec.Picture.Png.Streaming.Juicy
                     , Streaming.CRC
                     , Streaming.Zlib

  other-modules:       Codec.Picture.Png.Streaming.Core
                     , Codec.Picture.Png.Streaming.Header
                     , Codec.Picture.Png.Streaming.MainData
                     , Codec.Picture.Png.Streaming.Info

  default-language:    Haskell2010

  build-depends:       JuicyPixels >= 3.2
                     , base >= 4.7 && < 5
                     , bytestring >= 0.10
                     , cereal >= 0.5
                     , exceptions >= 0.8.2
                     , mmorph >= 1.0
                     , mtl >= 2.2
                     , resourcet >= 1.1
                     , streaming >= 0.1.4
                     , streaming-bytestring >= 0.1.4
                     , streaming-commons >= 0.1.14
                     , transformers >= 0.4.2
                     , vector >= 0.11

  ghc-options:
    -- -Wall
    -O2

source-repository head
  type: git
  location: http://github.com/bch29/streaming-png