packages feed

bzlib-conduit-0.3.0: bzlib-conduit.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: d80abfd02a6188d89ec30ef27c527ba6c1ca1d67df4c8c118b8575dfc89fcc20

name:           bzlib-conduit
version:        0.3.0
synopsis:       Streaming compression/decompression via conduits.
description:    Please see the README and docs at <https://www.stackage.org/package/bzlib-conduit>
category:       Codec
homepage:       https://github.com/snoyberg/bzlib-conduit#readme
bug-reports:    https://github.com/snoyberg/bzlib-conduit/issues
author:         Hideyuki Tanaka
maintainer:     Michael Snoyman
copyright:      (c) 2012, Hideyuki Tanaka
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    ChangeLog.md
    README.md

data-files:
    test/sample1.bz2
    test/sample1.ref
    test/sample2.bz2
    test/sample2.ref
    test/sample3.bz2
    test/sample3.ref

source-repository head
  type: git
  location: https://github.com/snoyberg/bzlib-conduit

library
  hs-source-dirs:
      src
  build-depends:
      base >=4.9 && <10
    , bindings-DSL
    , bytestring >=0.9
    , conduit >=1.3
    , data-default
    , mtl >=2.0
    , resourcet >=1.2
  if !(os(windows))
    extra-libraries:
        bz2
  else
    include-dirs:
        cbits
    install-includes:
        bzlib.h
        bzlib_private.h
    c-sources:
        cbits/blocksort.c
        cbits/huffman.c
        cbits/crctable.c
        cbits/randtable.c
        cbits/compress.c
        cbits/decompress.c
        cbits/bzlib.c
  exposed-modules:
      Data.Conduit.BZlib
      Data.Conduit.BZlib.Internal
  other-modules:
      Paths_bzlib_conduit
  default-language: Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs:
      test
  build-depends:
      base >=4.9 && <10
    , bindings-DSL
    , bytestring >=0.9
    , bzlib-conduit
    , conduit >=1.3
    , data-default
    , hspec >=1.3
    , mtl >=2.0
    , random
    , resourcet >=1.2
  other-modules:
      Paths_bzlib_conduit
  default-language: Haskell2010

benchmark bench
  type: exitcode-stdio-1.0
  main-is: bench.hs
  hs-source-dirs:
      bench
  build-depends:
      base >=4.9 && <10
    , bindings-DSL
    , bytestring >=0.9
    , bzlib-conduit
    , conduit >=1.3
    , data-default
    , mtl >=2.0
    , resourcet >=1.2
  other-modules:
      Paths_bzlib_conduit
  default-language: Haskell2010