packages feed

one-time-password-2.0.0: one-time-password.cabal

name:                one-time-password
version:             2.0.0
synopsis:            HMAC-Based and Time-Based One-Time Passwords

description: Implements HMAC-Based One-Time Password Algorithm as
             defined in RFC 4226 and Time-Based One-Time Password
             Algorithm as defined in RFC 6238.

license:        MIT
license-file:   LICENSE
copyright:      (c) 2012 Artem Leshchev, 2016 Aleksey Uimanov
author:         Artem Leshchev, Aleksey Uimanov
maintainer:     s9gf4ult@gmail.com <Aleksey Uimanov>
homepage:       https://github.com/s9gf4ult/one-time-password
bug-reports:    https://github.com/s9gf4ult/one-time-password/issues
category:       Cryptography
build-type:     Simple
cabal-version:  >=1.10

extra-source-files: CHANGELOG.md
                  , README.md

source-repository head
  type:     git
  location: git://github.com/s9gf4ult/one-time-password.git

library
  default-language:  Haskell2010
  hs-source-dirs:    src
  default-extensions: OverloadedStrings
                    , ScopedTypeVariables
  exposed-modules:   Data.OTP
  build-depends:     base >= 3 && < 5
                   , bytestring
                   , cereal
                   , cryptonite
                   , memory
                   , time >= 1.1
  ghc-options: -Wall

test-suite tests
  default-language: Haskell2010
  type:            exitcode-stdio-1.0
  hs-source-dirs:  test
  ghc-options: -Wall
  default-extensions: ExistentialQuantification
                    , OverloadedStrings
                    , RankNTypes
  main-is:         Test.hs
  build-depends:   base >= 3 && < 5
                 , bytestring
                 , cryptonite
                 , one-time-password
                 , tasty
                 , tasty-hunit
                 , time >= 1.1