packages feed

argon2-1.1.0: argon2.cabal

name:                argon2
version:             1.1.0
synopsis:            Haskell bindings to libargon2 - the reference implementation of the Argon2 password-hashing function
-- description:         
homepage:            https://github.com/ocharles/argon2.git
license:             BSD3
license-file:        LICENSE
author:              Ollie Charles
maintainer:          ollie@ocharles.org.uk
-- copyright:           
-- category:            
build-type:          Simple
extra-source-files:  Changelog.md
cabal-version:       >=1.10

library
  exposed-modules:     Crypto.Argon2.FFI
                       Crypto.Argon2
  build-depends:       base >=4.8 && <4.9, bytestring, text, transformers
  hs-source-dirs:      src
  default-language:    Haskell2010
  c-sources: phc-winner-argon2/src/argon2.c
             phc-winner-argon2/src/core.c
             phc-winner-argon2/src/blake2/blake2b.c
             phc-winner-argon2/src/thread.c
             phc-winner-argon2/src/ref.c
             phc-winner-argon2/src/encoding.c
  include-dirs: phc-winner-argon2/src

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Tests.hs
  build-depends: argon2, base >= 4.8 && <4.9, QuickCheck >= 2.0, tasty-quickcheck, tasty, bytestring, text