From 5ed645493e10190f7cddd753bb058e8487037549 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Wed, 25 Apr 2012 16:38:48 -0400 Subject: Separate ASCII armor codec into its own package, change license to ISC, and change API toward Stephen Paul Weber's proposal. --- openpgp-asciiarmor.cabal | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 openpgp-asciiarmor.cabal (limited to 'openpgp-asciiarmor.cabal') diff --git a/openpgp-asciiarmor.cabal b/openpgp-asciiarmor.cabal new file mode 100644 index 0000000..4b7e25d --- /dev/null +++ b/openpgp-asciiarmor.cabal @@ -0,0 +1,49 @@ +Name: openpgp-asciiarmor +Version: 0.0 +Synopsis: OpenPGP (RFC4880) ASCII Armor codec +Description: OpenPGP (RFC4880) ASCII Armor codec +Homepage: http://floss.scru.org/openpgp-asciiarmor +License: OtherLicense +License-file: LICENSE +Author: Clint Adams +Maintainer: Clint Adams +Copyright: 2012, Clint Adams +Category: Codec, Data +Build-type: Simple +Extra-source-files: tests/suite.hs + , tests/data/msg1.asc + , tests/data/msg1.gpg + +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 + Build-depends: attoparsec + , base > 4 && < 5 + , base64-bytestring + , bytestring + , cereal + default-language: Haskell98 + + +Test-Suite tests + type: exitcode-stdio-1.0 + main-is: tests/suite.hs + Build-depends: attoparsec + , base > 4 && < 5 + , base64-bytestring + , bytestring + , cereal + , HUnit + , test-framework + , test-framework-hunit + default-language: Haskell98 + +source-repository head + type: git + location: git://git.debian.org/users/clint/openpgp-asciiarmor.git -- cgit v1.2.3