argon2-1.2.0: argon2.cabal
name: argon2
version: 1.2.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
extra-source-files: phc-winner-argon2/src/blake2/blake2.h
phc-winner-argon2/src/blake2/blake2-impl.h
phc-winner-argon2/src/blake2/blamka-round-ref.h
phc-winner-argon2/include/argon2.h
flag use-system-library
description: Link against system libargon2 library rather than embedded copy
default: False
library
exposed-modules: Crypto.Argon2.FFI
Crypto.Argon2
build-depends: base >=4.8 && <4.10, bytestring, text, transformers
hs-source-dirs: src
default-language: Haskell2010
if flag(use-system-library)
extra-libraries: argon2
else
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
phc-winner-argon2/src/encoding.h
phc-winner-argon2/src/core.h
phc-winner-argon2/src/thread.h
phc-winner-argon2/src/ref.h
include-dirs: phc-winner-argon2/src
phc-winner-argon2/include
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