packages feed

pureMD5-2.1.0.2: pureMD5.cabal

name:		pureMD5
version:	2.1.0.2
license:	BSD3
license-file:	LICENSE
author:		Thomas DuBuisson <thomas.dubuisson@gmail.com>
maintainer:	Thomas DuBuisson
description:	A Haskell-only implementation of the MD5 digest (hash) algorithm.  This now supports
                the crypto-api class interface.
synopsis:	A Haskell-only implementation of the MD5 digest (hash) algorithm.
category:	Data, Cryptography
stability:	stable
build-type:	Simple
cabal-version:	>= 1.6
tested-with:	GHC == 6.12.1
extra-source-files: Test/MD5.hs Test/md5test.hs

flag test
  description: Build a test program
  default: False

Library
  Build-Depends: base == 4.*, bytestring >= 0.9 && < 0.10, binary >= 0.4.0 && < 0.6.0, cereal >= 0.2 && < 0.4, crypto-api < 0.2, tagged
  ghc-options:	-O2 -funfolding-use-threshold66 -funfolding-creation-threshold66 -fexcess-precision -funbox-strict-fields
  hs-source-dirs:
  exposed-modules: Data.Digest.Pure.MD5
  if arch(i386) || arch(x86_64)
    cpp-options: -DFastWordExtract

Executable md5Test
  main-is: Test/main.hs
  if flag(test)
    Build-Depends: base, QuickCheck, crypto-api, bytestring, cereal
  if !flag(test)
    buildable: False