          XSPELL=cryptohash-sha256
           SPELL=haskell-$XSPELL
         VERSION=0.11.102.1
          SOURCE="${XSPELL}-${VERSION}.tar.gz"
   SOURCE_URL[0]=https://hackage.haskell.org/package/${XSPELL}-${VERSION}/${SOURCE}
     SOURCE_HASH=sha512:fb4432050ab1236fc913ba50949ee52a117b0d74509b58868e8ade69bfc6e89e1379dfea48afc76d8527d4fdbaee9dd1d2dcea4530ba95a42441491df005e78c
         SOURCE2="cryptohash-sha256-${VERSION}-rev6.cabal"
  SOURCE2_URL[0]=https://hackage.haskell.org/package/cryptohash-sha256-${VERSION}/revision/6.cabal
    SOURCE2_HASH=sha512:53e9fc96a5f6d8bb4d2bd69c1b31371fc887f3713f93b52d83e88486efefcbfcfcab6e3e2349df6863b3211e41796ca6b11ba8c24b3cebc822c9e838d9eb0e92
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${XSPELL}-${VERSION}"
        WEB_SITE="https://github.com/hvr/cryptohash-sha256"
      LICENSE[0]=BSD
         ENTERED=20180115
           SHORT="practical incremental and one-pass, pure API to the SHA-256 cryptographic hash algorithm"
cat << EOF
A practical incremental and one-pass, pure API to the SHA-256 cryptographic
hash algorithm according to FIPS 180-4 with performance close to the fastest
implementations available in other languages.

The core SHA-256 algorithm is implemented in C and is thus expected to be
as fast as the standard sha256sum(1) tool; for instance, on an Intel Core
i7-3770 at 3.40GHz this implementation can compute a SHA-256 hash over 230
MiB of data in under one second. (If, instead, you require a pure Haskell
implementation and performance is secondary, please refer to the SHA package.)

Additionally, this package provides support for

 * HMAC-SHA-256: SHA-256-based Hashed Message Authentication Codes (HMAC)
 * HKDF-SHA-256: HMAC-SHA-256-based Key Derivation Function (HKDF)

conforming to RFC6234, RFC4231, RFC5869, et al..
EOF
