revise .cabal

This commit is contained in:
Jens Petersen 2021-08-04 22:29:11 +08:00
parent b59ad1156d
commit c447444ac7
1 changed files with 64 additions and 64 deletions

View File

@ -1,64 +1,64 @@
name: crypto-api name: crypto-api
version: 0.13.3 version: 0.13.3
x-revision: 1 x-revision: 1
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
copyright: Thomas DuBuisson <thomas.dubuisson@gmail.com> copyright: Thomas DuBuisson <thomas.dubuisson@gmail.com>
author: Thomas DuBuisson <thomas.dubuisson@gmail.com>, Francisco Blas Izquierdo Riera (klondike) author: Thomas DuBuisson <thomas.dubuisson@gmail.com>, Francisco Blas Izquierdo Riera (klondike)
maintainer: Thomas DuBuisson <thomas.dubuisson@gmail.com> maintainer: Thomas DuBuisson <thomas.dubuisson@gmail.com>
description: A generic interface for cryptographic operations (hashes, ciphers, randomness). description: A generic interface for cryptographic operations (hashes, ciphers, randomness).
Maintainers of hash and cipher implementations are Maintainers of hash and cipher implementations are
encouraged to add instances for the classes defined encouraged to add instances for the classes defined
in Crypto.Classes. Crypto users are similarly in Crypto.Classes. Crypto users are similarly
encouraged to use the interfaces defined in the Classes encouraged to use the interfaces defined in the Classes
module. module.
Any concepts or functions of general use to more than Any concepts or functions of general use to more than
one cryptographic algorithm (ex: padding) is within one cryptographic algorithm (ex: padding) is within
scope of this package. scope of this package.
synopsis: A generic interface for cryptographic operations synopsis: A generic interface for cryptographic operations
category: Data, Cryptography category: Data, Cryptography
homepage: https://github.com/TomMD/crypto-api homepage: https://github.com/TomMD/crypto-api
bug-reports: https://github.com/TomMD/crypto-api bug-reports: https://github.com/TomMD/crypto-api
stability: stable stability: stable
build-type: Simple build-type: Simple
cabal-version: >= 1.6 cabal-version: >= 1.6
tested-with: GHC == 7.6.2 tested-with: GHC == 7.6.2
extra-source-files: extra-source-files:
cbits/misc.c cbits/misc.c
cbits/misc.h cbits/misc.h
Flag ALL_CPOLYS Flag ALL_CPOLYS
Description: Build all the CMAC polynomes up to 10000 bits instead of just the usual ones Description: Build all the CMAC polynomes up to 10000 bits instead of just the usual ones
Default: False Default: False
Manual: True Manual: True
Library Library
-- see https://github.com/TomMD/crypto-api/issues/29 -- see https://github.com/TomMD/crypto-api/issues/29
build-depends: base >= 4.9 build-depends: base >= 4.9
Build-Depends: base == 4.*, Build-Depends: base == 4.*,
bytestring >= 0.9, bytestring >= 0.9,
cereal >= 0.2, cereal >= 0.2,
tagged >= 0.1, tagged >= 0.1,
entropy, transformers entropy, transformers
ghc-options: ghc-options:
hs-source-dirs: hs-source-dirs:
exposed-modules: Crypto.Classes, Crypto.Types, Crypto.HMAC, exposed-modules: Crypto.Classes, Crypto.Types, Crypto.HMAC,
Crypto.Random, Crypto.Padding, Crypto.Modes, Crypto.Random, Crypto.Padding, Crypto.Modes,
Crypto.Util, Crypto.Classes.Exceptions Crypto.Util, Crypto.Classes.Exceptions
other-modules: Crypto.CPoly other-modules: Crypto.CPoly
extensions: ForeignFunctionInterface, MultiParamTypeClasses, extensions: ForeignFunctionInterface, MultiParamTypeClasses,
BangPatterns, FunctionalDependencies, FlexibleInstances, BangPatterns, FunctionalDependencies, FlexibleInstances,
TypeSynonymInstances TypeSynonymInstances
c-sources: cbits/misc.c c-sources: cbits/misc.c
include-dirs: cbits include-dirs: cbits
if flag(ALL_CPOLYS) if flag(ALL_CPOLYS)
Build-Depends: array Build-Depends: array
cpp-options: -DALL_CPOLYS cpp-options: -DALL_CPOLYS
source-repository head source-repository head
type: git type: git
location: https://github.com/TomMD/crypto-api location: https://github.com/TomMD/crypto-api