packages feed

netpbm-0.2.1: netpbm.cabal

name:          netpbm
version:       0.2.1
license:       MIT
copyright:     2013 Niklas Hambüchen <mail@nh2.me>
author:        Niklas Hambüchen <mail@nh2.me>
maintainer:    Niklas Hambüchen <mail@nh2.me>
category:      Codec, Graphics
build-type:    Simple
stability:     experimental
tested-With:   GHC==7.4.2
cabal-version: >= 1.10
homepage:      https://github.com/nh2/haskell-netpbm
bug-Reports:   https://github.com/nh2/haskell-netpbm/issues
synopsis:      Loading PBM, PGM, PPM image files
description:   This package contains pure Haskell parsers for the netpbm image formats: PBM, PGM and PPM, for both ASCII and binary encodings.


source-repository head
  type:      git
  location:  git://github.com/nh2/haskell-netpbm.git


library
  exposed-modules:
    Graphics.Netpbm
  build-depends:
      base < 5
    , attoparsec >= 0.10
    , attoparsec-binary >= 0.2
    , bytestring >= 0.10
    , storable-record >= 0.0.2.5
    , unordered-containers >= 0.1.3.0
    , vector >= 0.7
    , vector-th-unbox >= 0.2.0.1
  hs-source-dirs:
    src
  default-language: Haskell2010
  ghc-options: -Wall


test-Suite tests
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs:
    test
  main-is:
    Main.hs
  build-depends:
      base >= 4
    , netpbm
    , bytestring >= 0.10
    , hspec >= 1.3.0.1
    , HUnit >= 1.2
  ghc-options: -Wall