packages feed

hs-blake2-0.0.2: hs-blake2.cabal

-- Initial hs-blake2.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                hs-blake2
version:             0.0.2
synopsis:            A cryptohash-inspired library for blake2
-- description:         
homepage:            https://github.com/tsuraan/hs-blake2
license:             BSD3
license-file:        LICENSE
author:              Jay Groven
maintainer:          tsuraan@gmail.com
-- copyright:           
category:            Data
build-type:          Simple
extra-source-files:  cbits/alloc.h
cabal-version:       >=1.10

library
  exposed-modules:     Crypto.Hash.Tsuraan.Blake2
                     , Crypto.Hash.Tsuraan.Blake2.Parallel
                     , Crypto.Hash.Tsuraan.Blake2.Serial
  other-modules:       Crypto.Hash.Tsuraan.Blake2.Internal
  c-sources:           cbits/alloc.c
  -- other-extensions:    
  build-depends:       base >=4.6 && < 4.8
                     , bytestring >=0.10
  hs-source-dirs:      src
  include-dirs:        cbits
  default-language:    Haskell2010
  ghc-options:         -Wall
  extra-libraries:     b2

benchmark benchmark-all
  type:                exitcode-stdio-1.0
  main-is:             BenchAll.hs
  build-depends:       base >=4.6 && < 4.8
                     , bytestring >=0.10
                     , cryptohash
                     , criterion
                     , hs-blake2
  hs-source-dirs:      benches
  default-language:    Haskell2010
  ghc-options:         -Wall
  extra-libraries:     b2

test-suite test-all
  type:                exitcode-stdio-1.0
  main-is:             TestAll.hs
  build-depends:       base >=4.6 && < 4.8
                     , bytestring >=0.10
                     , bytestring-arbitrary
                     , hs-blake2
                     , QuickCheck
                     , tasty
                     , tasty-quickcheck
  hs-source-dirs:      tests
  default-language:    Haskell2010
  ghc-options:         -Wall
  extra-libraries:     b2