packages feed

elocrypt-2.0.0: elocrypt.cabal

name:                elocrypt
version:             2.0.0
synopsis:            Generate easy-to-remember, hard-to-guess passwords
homepage:            https://www.github.com/sgillespie/elocrypt
license:             OtherLicense
license-file:        LICENSE
author:              Sean Gillespie
maintainer:          sean@mistersg.net
copyright:           Copyright: (c) 2017 Sean Gillespie
category:            Cryptography
build-type:          Simple
extra-source-files:  README.md,
                     test/*.hs,
                     test/Test/*.hs,
                     test/Test/Elocrypt/*.hs
cabal-version:       >=1.10

description:
  Generates pronounceable, hard-to-guess passwords--as hard as
  Vince Carter's knee cartilage is.

source-repository head
  type: git
  location: https://github.com/sgillespie/elocrypt.git

source-repository this
  type: git
  location: https://github.com/sgillespie/elocrypt.git
  tag: v1.0.0
                  
library
  exposed-modules:     Data.Elocrypt,
                       Data.Elocrypt.Trigraph
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base >=4.7 && <5,
                       MonadRandom,
                       random
  hs-source-dirs:      src/lib
  default-language:    Haskell2010

executable elocrypt
  build-depends:       base >= 4.7 && <5,
                       elocrypt,
                       random
  default-language:    Haskell2010
  hs-source-dirs:      src/cli
  main-is:             Main.hs

test-suite test
  build-depends:       base >= 4.7 && <5,
                       elocrypt,
                       MonadRandom,
                       proctest,
                       QuickCheck,
                       random,
                       tasty,
                       tasty-quickcheck,
                       tasty-th >= 0.1.7
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             Tests.hs
  other-modules:       Test.Elocrypt.Instances,
                       Test.Elocrypt.QuickCheck,
                       Test.Elocrypt.TrigraphTest,
                       Test.ElocryptTest
  type:                exitcode-stdio-1.0

test-suite ui-test
  build-depends:       base >= 4.7 && <5,
                       elocrypt,
                       proctest,
                       MonadRandom,
                       QuickCheck,
                       random,
                       tasty,
                       tasty-quickcheck,
                       tasty-th >= 0.1.7
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             IntegTests.hs
  other-modules:       IntegTest.Elocrypt.PassphraseTest,
                       IntegTest.Elocrypt.PasswordTest,
                       Test.Elocrypt.QuickCheck,
                       Test.Elocrypt.Instances
  type:                exitcode-stdio-1.0

test-suite elocrypt-lint
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             HLint.hs
  build-depends:       base >= 4.7 && < 5,
                       hlint
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010