-- Initial pgp-wordlist.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                pgp-wordlist
version:             0.1
synopsis:            Translate between binary data and a human-readable
                     collection of words.
description:         Translate between binary data and a human-readable
                     collection of words.
                     .
                     The PGP Word List consists of two phonetic alphabets, each
                     with one word per possible byte value. A string of bytes
                     is translated with these alphabets, alternating between
                     them at each byte.
                     .
                     The PGP words corresponding to the bytes @5B 1D CA 6E@
                     are "erase breakaway spellbind headwaters", for example.
                     .
                     For further information, see
                     <http://en.wikipedia.org/wiki/PGP_word_list Wikipedia>.
license:             BSD3
license-file:        LICENSE
author:              David Luposchainsky <dluposchainsky(λ)gmail.com>
maintainer:          David Luposchainsky <dluposchainsky(λ)gmail.com>
copyright:           David Luposchainsky <dluposchainsky(λ)gmail.com>
homepage:            https://github.com/quchen/pgp-wordlist
bug-reports:         https://github.com/quchen/pgp-wordlist/issues
category:            Data, Serialization
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  README.md
tested-with:         GHC == 7.6.3
                   , GHC == 7.8.4
                   , GHC == 7.10.1



source-repository head
  type:     git
  location: https://github.com/quchen/pgp-wordlist



library
    exposed-modules:     Data.Text.PgpWordlist
                       , Data.Text.PgpWordlist.Internal.AltList
                       , Data.Text.PgpWordlist.Internal.Tables
    build-depends:       base >=4.6 && < 5
                       , bimap >=0.3 && <0.4
                       , bytestring >=0.10 && <0.11
                       , text >=1.2 && <1.3
    hs-source-dirs:      src
    ghc-options:         -Wall
    default-language:    Haskell2010



test-suite tasty
    main-is: test/Main.hs
    ghc-options: -Wall
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends: pgp-wordlist
                 , base
                 , bytestring
                 , HUnit
                 , tasty >= 0.10
                 , tasty-hunit >= 0.9
                 , tasty-quickcheck
                 , text