packages feed

JuicyPixels-blp-0.2.0.0: JuicyPixels-blp.cabal

name:                JuicyPixels-blp
version:             0.2.0.0
synopsis:            BLP format decoder/encoder over JuicyPixels library
description:
  The library provides decoding/encoding functions for BLP1 texture format of Warcraft III game.
  The result is represented in types of [JuicyPixels](http://hackage.haskell.org/package/JuicyPixels) library.

  Please see README.md for detailed description.
homepage:            http://github.com/NCrashed/JuicyPixels-blp#readme
license:             BSD3
license-file:        LICENSE
author:              Anton Gushcha
maintainer:          ncrashed@gmail.com
copyright:           2015-2018 Anton Gushcha
category:            Codec, Graphics, Image
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md, CHANGELOG.md

source-repository head
  type:      git
  location:  git@github.com:NCrashed/JuicyPixels-blp.git

library
  hs-source-dirs:      src
  exposed-modules:
    Codec.Picture.Blp
    Codec.Picture.Blp.Internal.Convert
    Codec.Picture.Blp.Internal.Data
    Codec.Picture.Blp.Internal.Encoder
    Codec.Picture.Blp.Internal.Parser

  default-language:    Haskell2010
  build-depends:
      base                  >= 4.7    && < 5
    , attoparsec            >= 0.12   && < 0.14
    , binary                >= 0.8    && < 0.10
    , bytestring            >= 0.10   && < 0.11
    , hashable              >= 1.2    && < 1.4
    , JuicyPixels           >= 3.2    && < 3.4
    , text-show             >= 3.7    && < 3.9
    , vector                >= 0.10   && < 0.13

  default-extensions:
    BangPatterns
    DeriveGeneric
    MultiWayIf
    OverloadedStrings
    RecordWildCards

executable blp2any
  hs-source-dirs:      blp2any
  main-is:             Main.hs
  other-modules:
    Convert
    File
    Statistics
  ghc-options:       -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010
  build-depends:
      base                  >= 4.7    && < 5
    , bytestring
    , directory             >= 1.2    && < 1.4
    , filepath              >= 1.4    && < 1.5
    , JuicyPixels
    , JuicyPixels-blp
    , optparse-simple       >= 0.0.3  && < 0.2
    , text-show
    , unordered-containers  >= 0.2    && < 0.3

  default-extensions:
    RecordWildCards