packages feed

toxcore-0.0.2: toxcore.cabal

name:                 toxcore
synopsis:             Haskell bindings to the C reference implementation of Tox
version:              0.0.2
cabal-version:        >= 1.10
license:              AGPL-3
license-file:         LICENSE.md
build-type:           Simple
author:               iphy
maintainer:           iphy
copyright:            © 2016 iphy
homepage:             https://toktok.github.io
category:             Network
description:
  Haskell bindings to the C reference implementation of Tox.
  .
  See <https://github.com/TokTok/toxcore>.

source-repository head
  type: git
  location: https://github.com/TokTok/hs-toxcore

library
  default-language: Haskell2010
  hs-source-dirs:
      src
  ghc-options:
      -Wall
      -fno-warn-unused-imports
  extra-libraries: toxcore
  build-depends:
      base < 5
    , QuickCheck >= 2.9.1
    , bytestring
    , bytestring-arbitrary
    , data-default-class
    , saltine
  exposed-modules:
      Network.Tox.C
      Network.Tox.C.Callbacks
      Network.Tox.C.CEnum
      Network.Tox.C.Tox

test-suite testsuite
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs:
      test
  ghc-options:
      -Wall
      -fno-warn-unused-imports
  build-depends:
      base < 5
    , QuickCheck >= 2.9.1
    , data-default-class
    , hspec
    , saltine
    , toxcore
  main-is: testsuite.hs