File stb-image-redux.cabal of Package ghc-stb-image-redux

name: stb-image-redux
version: 0.2.1.0
x-revision: 2
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2016 Alexis Williams
maintainer: sasinestro@gmail.com
homepage: https://github.com/sasinestro/stb-image-redux#readme
synopsis: Image loading and writing microlibrary
description:
    See <https://github.com/SASinestro/stb-image-redux/blob/master/README.md>.
category: Graphics
author: Alexis Williams
extra-source-files:
    test/jellybeans.tga
    test/jellybeans.bmp
    test/jellybeans-flipped.bmp
    stb/stb_image.h
    stb/stb_image_write.h

source-repository head
    type: git
    location: https://github.com/sasinestro/stb-image-redux

library
    exposed-modules:
        Data.STBImage
    build-depends:
        base >=4.8 && <5,
        vector >=0.10.12.3 && <0.13
    cc-options: -DSTBI_NO_HDR -DSTBI_NO_LINEAR -DSTBI_FAILURE_USERMSG
    c-sources:
        src/stb_image.c
        src/stb_image_write.c
    default-language: Haskell2010
    include-dirs: stb
    hs-source-dirs: src
    other-modules:
        Data.STBImage.Color
        Data.STBImage.ColorTypes
        Data.STBImage.Immutable

test-suite stb-image-redux-tests
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    build-depends:
        base >=4.9.0.0 && <4.10,
        stb-image-redux >=0.2.1.0 && <0.3,
        vector >=0.10.12.3 && <0.13,
        hspec >=2.1.5 && <2.5
    default-language: Haskell2010
    hs-source-dirs: test
    other-modules:
        Data.STBImageSpec
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
openSUSE Build Service is sponsored by