1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
Cabal-Version: 2.0
Name: nettle
Version: 0.3.1.1
Synopsis: safe nettle binding
Description:
safe binding for the nettle (<http://www.lysator.liu.se/~nisse/nettle/nettle.html>) library.
Tested with 3.4, might work with 3.2 (but not earlier).
License: MIT
License-file: COPYING
Copyright: Stefan Bühler <stbuehler@web.de>
Author: Stefan Bühler <stbuehler@web.de>
Maintainer: Clint Adams <clint@debian.org>
Category: Cryptography
Build-Type: Simple
Homepage: https://github.com/stbuehler/haskell-nettle
Bug-reports: https://github.com/stbuehler/haskell-nettle/issues
Extra-source-files: README.md
, src/nettle-ciphers.h
, src/nettle-hash.h
, src/Tests/*.hs
, src/Tests/KAT/*.hs
Tested-With: GHC ==9.8.1 || ==9.6.4 || ==9.4.8 || ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4
Flag UsePkgConfig
Description: Use pkg-config to check for library dependences
Default: True
Library
Default-Language: Haskell2010
hs-source-dirs: src
Build-Depends: base >= 4 && < 5
, bytestring >= 0.10.8 && < 0.13
, byteable >= 0.1.1 && < 0.2
, tagged >= 0.8.5 && < 0.9
, securemem >= 0.1.9 && < 0.2
, crypto-cipher-types >= 0.0.3 && < 0.1
Exposed-modules: Crypto.Nettle.ChaChaPoly1305
Crypto.Nettle.Ciphers
Crypto.Nettle.CCM
Crypto.Nettle.Hash
Crypto.Nettle.KeyedHash
Crypto.Nettle.HMAC
Crypto.Nettle.UMAC
Other-modules: Crypto.Nettle.Ciphers.Internal
Crypto.Nettle.Ciphers.ForeignImports
Crypto.Nettle.Hash.ForeignImports
Crypto.Nettle.Hash.Types
Nettle.Utils
ghc-options: -Wall -optc-O3 -fno-cse -fno-warn-tabs
include-dirs: src
C-sources: src/nettle-ciphers.c
if flag(UsePkgConfig)
PkgConfig-Depends: nettle
else
Extra-libraries: nettle
Test-Suite test-ciphers
Default-Language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: src/Tests
Main-Is: Ciphers.hs
Build-depends: base >= 4 && < 5
, bytestring >= 0.10.8 && < 0.13
, QuickCheck >= 2 && < 3
, array >= 0.5.1 && < 0.6
, test-framework >= 0.3.3 && > 0.4
, test-framework-quickcheck2 >= 0.2.9
, crypto-cipher-types >= 0.0.3 && < 0.1
, crypto-cipher-tests >= 0.0.11 && < 0.1
, nettle
ghc-options: -fno-warn-tabs
Test-Suite test-hashes
Default-Language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: src/Tests
Main-Is: Hash.hs
Build-depends: base >= 4 && < 5
, bytestring >= 0.10.8 && < 0.13
, tagged >= 0.8.5 && < 0.9
, array >= 0.5.1 && < 0.6
, test-framework >= 0.3.3 && > 0.4
, HUnit >= 1.6.0 && < 1.7
, test-framework-hunit >= 0.3.0 && < 0.4
, nettle
ghc-options: -fno-warn-tabs
Test-Suite test-hmac
Default-Language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: src/Tests
Main-Is: HMAC.hs
Build-depends: base >= 4 && < 5
, bytestring >= 0.10.8 && < 0.13
, tagged >= 0.8.5 && < 0.9
, array >= 0.5.1 && < 0.6
, test-framework >= 0.3.3 && > 0.4
, HUnit >= 1.6.0 && < 1.7
, test-framework-hunit >= 0.3.0 && < 0.4
, nettle
ghc-options: -fno-warn-tabs
Test-Suite test-umac
Default-Language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: src/Tests
Main-Is: UMAC.hs
Build-depends: base >= 4 && < 5
, bytestring >= 0.10.8 && < 0.13
, tagged >= 0.8.5 && < 0.9
, array >= 0.5.1 && < 0.6
, test-framework >= 0.3.3 && > 0.4
, HUnit >= 1.6.0 && < 1.7
, test-framework-hunit >= 0.3.0 && < 0.4
, nettle
ghc-options: -fno-warn-tabs
source-repository head
type: git
location: git://github.com/stbuehler/haskell-nettle
|