summaryrefslogtreecommitdiff
path: root/openpgp-asciiarmor.cabal
blob: b686893830a42bd110daa956a6db954f2c31aa6b (plain)
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
Name:                openpgp-asciiarmor
Version:             0.1.2
Synopsis:            OpenPGP (RFC4880) ASCII Armor codec
Description:         OpenPGP (RFC4880) ASCII Armor codec
Homepage:            http://floss.scru.org/openpgp-asciiarmor
License:             MIT
License-file:        LICENSE
Author:              Clint Adams
Maintainer:          Clint Adams <clint@debian.org>
Copyright:           2012-2019 Clint Adams
Category:            Codec, Data
Build-type:          Simple
Extra-source-files: tests/suite.hs
  , tests/data/msg1.asc
  , tests/data/msg1a.asc
  , tests/data/msg1b.asc
  , tests/data/msg1c.asc
  , tests/data/msg1.gpg
  , tests/data/msg2.asc
  , tests/data/msg2.pgp
  , tests/data/msg3
  , tests/data/msg3.asc
  , tests/data/msg3.sig
  , tests/data/msg4
  , tests/data/msg4.asc
  , tests/data/msg4.sig

Cabal-version:       >= 1.10


Library
  Exposed-modules:     Codec.Encryption.OpenPGP.ASCIIArmor
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Decode
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Encode
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Types
  Other-Modules: Data.Digest.CRC24
               , Codec.Encryption.OpenPGP.ASCIIArmor.Multipart
               , Codec.Encryption.OpenPGP.ASCIIArmor.Utils
  Ghc-options: -Wall
  Build-depends: attoparsec
               , base                  > 4       && < 5
               , base64-bytestring
               , binary
               , bytestring
  default-language: Haskell2010


Test-Suite tests
  type:       exitcode-stdio-1.0
  main-is:    tests/suite.hs
  Ghc-options: -Wall
  Build-depends: attoparsec
               , base                  > 4       && < 5
               , base64-bytestring
               , binary
               , bytestring
               , tasty
               , tasty-hunit
  default-language: Haskell2010

Benchmark benchmark
  type:       exitcode-stdio-1.0
  main-is:    bench/mark.hs
  Ghc-options: -Wall
  Build-depends: openpgp-asciiarmor
               , base
               , bytestring
               , criterion
  default-language: Haskell2010

source-repository head
  type:     git
  location: https://salsa.debian.org/clint/openpgp-asciiarmor.git

source-repository this
  type:     git
  location: https://salsa.debian.org/clint/openpgp-asciiarmor.git
  tag:      openpgp-asciiarmor/v0.1.1