packages feed

lzma-streams-0.1.0.0: lzma-streams.cabal

name:                lzma-streams
version:             0.1.0.0
synopsis:            IO-Streams interface for lzma/xz compression
homepage:            https://github.com/hvr/lzma-streams
bug-reports:         https://github.com/hvr/lzma-streams/issues
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
maintainer:          hvr@gnu.org
stability:           experimental
copyright:           (c) 2015, Herbert Valerio Riedel
category:            Codec, Compression, IO-Streams
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC ==7.4.2, GHC ==7.6.3, GHC ==7.8.4, GHC ==7.10.1

description:
   This package provides an IO-Streams interface for the LZMA
   compression algorithm used in the @.xz@ file format.
   .
   Decompressing @.xz@ 'InputStreams' and compressing 'OutputStreams'
   to @.xz@ with tunable (de)compression parameters is supported.
   .
   See also the XZ Utils home page: <http://tukaani.org/xz/>

extra-source-files:    CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/hvr/lzma-streams.git

library
  default-language:    Haskell2010
  other-extensions:    RecordWildCards, DeriveDataTypeable

  hs-source-dirs:      src

  exposed-modules:     System.IO.Streams.Lzma

  build-depends:       base       >=4.5    && <4.9,
                       bytestring >=0.9.2  && <0.11,
                       io-streams >=1.3    && <1.4,
                       lzma       ==0.0.*

  ghc-options:         -Wall


test-suite lzma-streams-test
  default-language:    Haskell2010
  hs-source-dirs:      src-tests
  main-is:             lzma-streams-test.hs
  type:                exitcode-stdio-1.0

  build-depends:       base,
                       bytestring,
                       io-streams,
                       lzma-streams,

                       HUnit                      >= 1.2      && <1.3,
                       QuickCheck                 >= 2.8      && <2.9,
                       test-framework             >= 0.8      && <0.9,
                       test-framework-hunit       >= 0.3      && <0.4,
                       test-framework-quickcheck2 >= 0.3      && <0.4

  ghc-options:         -Wall -threaded