Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 65 lines (55 sloc) 1.591 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
name: snappy
version: 0.2.0.1
homepage: http://github.com/bos/snappy
bug-reports: http://github.com/bos/snappy/issues
synopsis:
  Bindings to the Google Snappy library for fast compression/decompression
description:
  This library provides fast, pure Haskell bindings to Google's Snappy
  compression and decompression library: <http://code.google.com/p/snappy/>
license: BSD3
license-file: LICENSE
author: Bryan O'Sullivan <bos@serpentine.com>
maintainer: Bryan O'Sullivan <bos@serpentine.com>
copyright: Copyright 2011 MailRank, Inc.
category: Codec, Compression
build-type: Simple
cabal-version: >= 1.8
extra-source-files:
  README.md
  include/hs_snappy.h
  tests/Makefile
  tests/Properties.hs
  tests/Speedy.hs

library
  c-sources: cbits/hs_snappy.cpp
  include-dirs: include
  extra-libraries: snappy stdc++

  cc-options: -Wall
  ghc-options: -Wall

  build-depends: base < 5, bytestring
  if impl(ghc >= 6.10)
    build-depends: base >= 4

  exposed-modules:
    Codec.Compression.Snappy
    Codec.Compression.Snappy.Lazy

  other-modules:
    Codec.Compression.Snappy.Internal

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

  ghc-options:
    -Wall -threaded -O0 -rtsopts

  cpp-options:
    -DASSERTS -DHAVE_DEEPSEQ

  build-depends:
    base < 5,
    bytestring,
    QuickCheck >= 2.4,
    snappy,
    test-framework,
    test-framework-quickcheck2

source-repository head
  type: git
  location: http://github.com/bos/snappy
Something went wrong with that request. Please try again.