packages feed

Cabal revisions of SHA-1.2.0

Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.

revision 1
-name:       SHA-category:   Cryptography, Codec-version:    1.2.0-license:    BSD3-license-file: LICENSE-author:     Adam Wick <awick@galois.com>-maintainer: Adam Wick <awick@galois.com>-stability:  stable-build-type: Simple-cabal-version: >= 1.6-tested-with: GHC ==6.8.0-synopsis: Implementations of the SHA suite of message digest functions-description: This library implements the SHA suite of message digest functions,-             according to NIST FIPS 180-2 (with the SHA-224 addendum). The-             functions have been tested against most of the NIST test vectors-             for the various functions. While some attention has been paid to-             performance, these do not presently reach the speed of-             well-tuned libraries, like OpenSSL.  --Flag Test- Description: Build the SHA test suite.- Default: False--Flag exe- Description: Build a SHA2-384 executable similar to 'md5sum'- Default: False--Library- build-depends: base >= 3, bytestring, binary, array- exposed-modules: Data.Digest.Pure.SHA- GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields- extensions: CPP, BangPatterns--Executable test_sha-  build-depends: base >= 3, bytestring, binary, array, QuickCheck >= 1 && < 2-  GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans -funbox-strict-fields-  cpp-options: -DSHA_TEST-  Main-Is: Test.hs-  Other-Modules: Data.Digest.Pure.SHA-  extensions: CPP, BangPatterns-  if !flag(test)-    buildable: False--Executable sha1-  build-depends: base >= 3, bytestring, binary, array, directory-  GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields-  Main-Is: Main.hs-  extensions: CPP, BangPatterns-  cpp-options: -DALGORITHM=sha1-  if !flag(exe)-    buildable: False--Executable sha384-  build-depends: base >= 3, bytestring, binary, array, directory-  GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields-  Main-Is: Main.hs-  extensions: CPP, BangPatterns-  cpp-options: -DALGORITHM=sha384-  if !flag(exe)-    buildable: False--source-repository head-  type:		git-  location:	git://code.haskell.org/SHA.git+name:       SHA
+category:   Cryptography, Codec
+version:    1.2.0
+x-revision: 1
+license:    BSD3
+license-file: LICENSE
+author:     Adam Wick <awick@galois.com>
+maintainer: Adam Wick <awick@galois.com>
+stability:  stable
+build-type: Simple
+cabal-version: >= 1.6
+tested-with: GHC ==6.8.0
+synopsis: Implementations of the SHA suite of message digest functions
+description: This library implements the SHA suite of message digest functions,
+             according to NIST FIPS 180-2 (with the SHA-224 addendum). The
+             functions have been tested against most of the NIST test vectors
+             for the various functions. While some attention has been paid to
+             performance, these do not presently reach the speed of
+             well-tuned libraries, like OpenSSL.  
+
+Flag Test
+ Description: Build the SHA test suite.
+ Default: False
+
+Flag exe
+ Description: Build a SHA2-384 executable similar to 'md5sum'
+ Default: False
+
+Library
+ build-depends: base >= 3, bytestring, binary, array
+ exposed-modules: Data.Digest.Pure.SHA
+ GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields
+ extensions: CPP, BangPatterns
+
+Executable test_sha
+  build-depends: base >= 3, bytestring, binary, array, QuickCheck >= 1 && < 2
+  GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans -funbox-strict-fields
+  cpp-options: -DSHA_TEST
+  Main-Is: Test.hs
+  Other-Modules: Data.Digest.Pure.SHA
+  extensions: CPP, BangPatterns
+  if !flag(test)
+    buildable: False
+
+Executable sha1
+  build-depends: base >= 3, bytestring, binary, array, directory
+  GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields
+  Main-Is: Main.hs
+  extensions: CPP, BangPatterns
+  cpp-options: -DALGORITHM=sha1
+  if !flag(exe)
+    buildable: False
+
+Executable sha384
+  -- Triggers ghc panic with GHC7.2 and GHC7.4
+  build-depends: base <4.4 || >=4.6
+  build-depends: base >= 3, bytestring, binary, array, directory
+  GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields
+  Main-Is: Main.hs
+  extensions: CPP, BangPatterns
+  cpp-options: -DALGORITHM=sha384
+  if !flag(exe)
+    buildable: False
+
+source-repository head
+  type:		git
+  location:	git://code.haskell.org/SHA.git