File: pureMD5.cabal

package info (click to toggle)
haskell-puremd5 2.1.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 76 kB
  • sloc: haskell: 267; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 1,152 bytes parent folder | download
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
name:		pureMD5
version:	2.1.0.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.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, 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