packages feed

imagesize-conduit-1.0.0.4: imagesize-conduit.cabal

Name:                imagesize-conduit
Version:             1.0.0.4
Synopsis:            Determine the size of some common image formats.
Description:         Currently supports PNG, GIF, and JPEG. This package provides a Sink that will consume the minimum number of bytes necessary to determine the image dimensions.
License:             BSD3
License-file:        LICENSE
Author:              Michael Snoyman
Maintainer:          Silk <code@silk.co>, Felipe Lessa <felipe.lessa@gmail.com>
Category:            Graphics, Conduit
Build-type:          Simple
Cabal-version:       >=1.8
Homepage:            http://github.com/silkapp/imagesize-conduit
extra-source-files:  test/main.hs
                     test/logo.png
                     test/logo.gif
                     test/logo.jpg
                     CHANGELOG.md
                     README.md
                     LICENSE

Library
  Exposed-modules:     Data.Conduit.ImageSize
  Build-depends:       base                     >= 4            && < 5
                     , conduit                  >= 1.1          && < 1.2
                     , conduit-extra            >= 1.1          && < 1.2
                     , bytestring               >= 0.10
  ghc-options:     -Wall

test-suite test
    hs-source-dirs: test
    main-is: main.hs
    type: exitcode-stdio-1.0
    build-depends:   conduit
                   , conduit-extra
                   , resourcet
                   , imagesize-conduit
                   , base
                   , hspec >= 1.10
                   , bytestring
    ghc-options:     -Wall

source-repository head
  type:     git
  location: git://github.com/silkapp/imagesize-conduit.git