packages feed

pureMD5-2.1.3: pureMD5.cabal

name:		pureMD5
version:	2.1.3
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.10
tested-with:	GHC == 7.10.3
extra-source-files: Test/MD5.hs

flag test
  description: Build a test program
  default: False

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

Test-Suite MD5Tests
    type:               exitcode-stdio-1.0
    default-language:   Haskell2010
    build-depends:      base >=4.6 && < 5,
                        pureMD5,
                        crypto-api-tests,
                        QuickCheck,
                        test-framework >= 0.8,
                        test-framework-quickcheck2,
                        binary, cereal, pretty-hex,
                        bytestring
    ghc-options:        -Wall
    hs-source-dirs:     Test
    main-is:            main.hs

source-repository head
  type:     git
  location: https://github.com/TomMD/pureMD5