packages feed

openpgp-asciiarmor-1.0: openpgp-asciiarmor.cabal

Name:                openpgp-asciiarmor
Version:             1.0
Synopsis:            OpenPGP (RFC9580) ASCII Armor codec
Description:         OpenPGP (RFC9580) ASCII Armor codec with legacy (RFC4880) compatibility
Homepage:            https://salsa.debian.org/clint/openpgp-asciiarmor
License:             MIT
License-file:        LICENSE
Author:              Clint Adams
Maintainer:          Clint Adams <clint@debian.org>
Copyright:           2012-2026 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
  , tests/data/seipdv2.pgp.aa
  , tests/data/seipdv2.pgp

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.7       && < 5
               , base64-bytestring
               , binary                >= 0.6.4.0
               , bytestring            >= 0.10
  default-language: Haskell2010


Test-Suite tests
  type:       exitcode-stdio-1.0
  main-is:    tests/suite.hs
  Ghc-options: -Wall
  Other-Modules:       Codec.Encryption.OpenPGP.ASCIIArmor
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Decode
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Encode
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Types
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Multipart
                     , Codec.Encryption.OpenPGP.ASCIIArmor.Utils
                     , Data.Digest.CRC24
  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/1.0