webp-0.1.1.0: webp.cabal
cabal-version: 1.18
name: webp
version: 0.1.1.0
license: GPL-3
license-file: LICENSE
copyright: Copyright: (c) 2020 Vanessa McHale
maintainer: Vanessa McHale <vamchale@gmail.com>
author: Vanessa McHale
synopsis: JuicyPixels support for WebP format
description:
Haskell library for webp format, via [c2hs](http://hackage.haskell.org/package/c2hs) and [libwebp](https://developers.google.com/speed/webp/docs/api).
category: Codec, Image, Compression
build-type: Simple
extra-source-files: test/data/*.webp
extra-doc-files:
README.md
CHANGELOG.md
source-repository head
type: darcs
location: https://hub.darcs.net/vmchale/webp
flag cross
description: Enable to ease cross-compiling
default: False
manual: True
library
exposed-modules: Codec.Picture.WebP
pkgconfig-depends: libwebp >=0.6.1
hs-source-dirs: src
other-modules:
Codec.Picture.WebP.Container
WebP.Encode
WebP.Decode
WebP.Types
default-language: Haskell2010
other-extensions: TypeFamilies TypeOperators
ghc-options: -Wall
build-depends:
base >=4.7 && <5,
JuicyPixels >=3.0,
bytestring,
vector >=0.9.1,
binary >=0.6.4.0
if !flag(cross)
build-tool-depends: c2hs:c2hs
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
if impl(ghc >=8.2)
ghc-options: -Wcpp-undef
if impl(ghc >=8.10)
ghc-options: -Wunused-packages
test-suite webp-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -K1K" -Wall
build-depends:
base,
webp,
tasty,
tasty-hunit,
JuicyPixels,
bytestring
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
if impl(ghc >=8.2)
ghc-options: -Wcpp-undef
if impl(ghc >=8.10)
ghc-options: -Wunused-packages