packages feed

pgp-wordlist-0.1.0.2: pgp-wordlist.cabal

name:                pgp-wordlist
version:             0.1.0.2
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.10.3



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.Convert
                       , Data.Text.PgpWordlist.Internal.Types
                       , Data.Text.PgpWordlist.Internal.Word8Bimap
                       , Data.Text.PgpWordlist.Internal.Words
    build-depends:       base >=4.6 && < 5
                       , bytestring >= 0.10
                       , containers
                       , text >=1.2
                       , vector >= 0.5
    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
                    , deepseq
                    , HUnit
                    , tasty >= 0.10
                    , tasty-hunit >= 0.9
                    , tasty-quickcheck
                    , text



test-suite doctest
    type: exitcode-stdio-1.0
    hs-source-dirs: test
    main-is: Doctest.hs
    build-depends:
                      base
                    , doctest >= 0.10
    ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
    default-language: Haskell2010