packages feed

quicklz-1.5.0.11: quicklz.cabal

name:                quicklz
version:             1.5.0.11
synopsis:            QuickLZ compression for ByteStrings
description:
  This package provides a high level binding to the QuickLZ
  compression library for @ByteStrings@, under the GPLv2
  license. QuickLZ is fast and compresses very well. Check out the
  home page: <http://quicklz.com>
  .
  This package includes the QuickLZ 1.5.0 source code, at
  compression level 1 and streaming mode disabled.
  .
  The versioning scheme for this package is unusual. QuickLZ tries 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 itself.
homepage:            http://github.com/thoughtpolice/hs-quicklz
bug-reports:         https://github.com/thoughtpolice/hs-quicklz/issues
license:             GPL-2
license-file:        LICENSE.txt
author:              Austin Seipp
maintainer:          mad.one@gmail.com
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, AUTHORS.txt

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 < 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: Haskell2010

test-suite properties
  hs-source-dirs: tests
  main-is:        Properties.hs
  type:           exitcode-stdio-1.0

  build-depends:
    base < 5,
    bytestring     >= 0.9,
    QuickCheck     >= 2.4,
    test-framework >= 0.4,
    test-framework-quickcheck2 >= 0.2,
    quicklz

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