pureMD5 2.1.0.3 → 2.1.2
raw patch · 3 files changed
+7/−27 lines, 3 filesdep −QuickCheckdep ~basedep ~binarydep ~bytestring
Dependencies removed: QuickCheck
Dependency ranges changed: base, binary, bytestring, cereal
Files
- Test/main.hs +0/−3
- Test/md5test.hs +0/−14
- pureMD5.cabal +7/−10
− Test/main.hs
@@ -1,3 +0,0 @@-import Test.MD5--main = test
− Test/md5test.hs
@@ -1,14 +0,0 @@-import Control.Arrow-import Data.ByteString.Lazy.Char8-import Data.Digest.Pure.MD5-import Test.QuickCheck--instance Arbitrary Char where- arbitrary = choose ('A', 'Z')--md5parts =- (uncurry ((md5Finalize .) . md5Update . md5Update md5InitialContext) .)- . curry (pack *** pack)--prop_md5 xs ys = show (md5 (pack (xs ++ ys))) == show (md5parts xs ys)-
pureMD5.cabal view
@@ -1,5 +1,5 @@ name: pureMD5-version: 2.1.0.3+version: 2.1.2 license: BSD3 license-file: LICENSE author: Thomas DuBuisson <thomas.dubuisson@gmail.com>@@ -12,23 +12,20 @@ build-type: Simple cabal-version: >= 1.6 tested-with: GHC == 6.12.1-extra-source-files: Test/MD5.hs Test/md5test.hs+extra-source-files: Test/MD5.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+ 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 -fexcess-precision -funbox-strict-fields -fllvm -optlc-O=3 -optlo-inline -optlo-std-compile-opts 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+source-repository head+ type: git+ location: https://github.com/TomMD/pureMD5