packages feed

liboath-hs-0.0.1.2: liboath-hs.cabal

name:                liboath-hs
version:             0.0.1.2
synopsis:            Bindings to liboath
description:         See README for details.
homepage:            https://github.com/parsonsmatt/liboath-hs#readme
license:             GPL-3
license-file:        LICENSE
author:              Matt Parsons
maintainer:          parsonsmatt@gmail.com
copyright:           2017 Matt Parsons
category:            Security
build-type:          Simple
extra-source-files:  README.md
                     changelog.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     LibOath
                     , LibOath.Internal
  build-depends:       base            >= 4.7     && < 5
                     , inline-c        >= 0.5.6.1 && < 0.10
                     , safe-exceptions
                     , bytestring
                     , time
  default-language:    Haskell2010
  c-sources:           src/LibOath/Internal.c
  includes:            oath.h
  extra-libraries:     oath
  cc-options:          -Wall
  pkgconfig-depends:   liboath >= 2.0

executable oathtool-hs
  hs-source-dirs:      app
  main-is:             Main.hs
  build-depends:       base
                     , liboath-hs
                     , time
                     , bytestring
  default-language:    Haskell2010

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

source-repository head
  type:     git
  location: https://github.com/parsonsmatt/liboath-hs