packages feed

quicklz-1.5.0.6: quicklz.cabal

name:                quicklz
version:             1.5.0.6
synopsis:            binding to QuickLZ compression library
description:         
  This package provides a high level binding to the QuickLZ (<http://quicklz.com>) library
  for ByteStrings, under the GPLv2 license. QuickLZ is fast and compresses very well.
  .
  This package includes the QuickLZ 1.5.0 source code, with compression level 1 and streaming
  currently disabled.
  .
  The versioning scheme for this package is unusual. QuickLZ trys to be as fast as possible,
  and will break backwards compatibility to achieve it in newer versions. This versioning scheme
  reflects the QuickLZ versioning scheme: the first three digits of version w.x.y.z are
  the quicklz version, with the 'z' component (and any further needed ones) being updates to this package,
  not quicklz.
homepage:            http://github.com/thoughtpolice/hs-quicklz
bug-reports:         https://github.com/thoughtpolice/hs-quicklz/issues
license:             GPL-2
license-file:        LICENSE
author:              Austin Seipp
maintainer:          as@hacks.yi.org
category:            Codec
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:
  cbits/quicklz.h, cbits/quicklz.c,
  tests/ex1.hs, tests/Properties.hs,
  README.md

source-repository head
  type: git
  location: https://github.com/thoughtpolice/hs-quicklz.git

flag memory-safe
  description: enable quickLZ memory safety checks
  default: False

library
  exposed-modules: Codec.Compression.QuickLZ	
  build-depends: 
    base >= 3 && < 5,
    bytestring == 0.9.*

  c-sources:       cbits/quicklz.c
  include-dirs:    cbits

  ghc-options:     -Wall -O2 -fwarn-tabs
  if flag(memory-safe)
    cpp-options:   -DDEBUG
  default-language: Haskell98
 
test-suite properties
  hs-source-dirs: tests
  main-is:        Properties.hs
  type:           exitcode-stdio-1.0

  build-depends:
    base,
    bytestring     == 0.9.*,
    QuickCheck     == 2.4.*,
    test-framework == 0.3.*,
    test-framework-quickcheck2 == 0.2.*,
    quicklz

  ghc-options:      -fno-cse
  default-language: Haskell98