packages feed

network-anonymous-i2p-0.9.2: network-anonymous-i2p.cabal

name: network-anonymous-i2p
category: Network
version: 0.9.2
description: Haskell API for I2P anonymous networking

license: MIT
license-file: LICENSE
copyright: (c) 2014 Leon Mergen
author: Leon Mergen
maintainer: leon@solatis.com
stability: experimental
synopsis: Haskell API for I2P anonymous networking
homepage: http://github.com/solatis/haskell-network-anonymous-i2p
build-type: Simple
data-files: LICENSE, README.md
cabal-version: >= 1.10
tested-with: GHC == 7.8, GHC == 7.10

flag debug
  description: Enable debug support
  default:     False

flag eventlog
  description: Enable the eventlog, useful for profiling
  default:     False

library
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall -ferror-spans -auto-all -caf-all

  if impl(ghc >= 6.13.0)
    ghc-options: -rtsopts

  if flag(eventlog)
    ghc-options: -eventlog

  if flag(debug)
    cpp-options: -DDEBUG

  exposed-modules:     Network.Anonymous.I2P
                       Network.Anonymous.I2P.Error
                       Network.Anonymous.I2P.Types.Destination
                       Network.Anonymous.I2P.Types.Session
                       Network.Anonymous.I2P.Types.Socket
                       Network.Anonymous.I2P.Protocol
                       Network.Anonymous.I2P.Protocol.Parser
                       Network.Anonymous.I2P.Protocol.Parser.Ast
                       Network.Anonymous.I2P.Internal.Debug

  build-depends:       base                     >= 4.3          && < 5

                     , network
                     , network-simple
                     , attoparsec
                     , network-attoparsec
                     , exceptions

                     , text
                     , bytestring
                     , uuid

                     , transformers
                     , mtl

test-suite test-suite
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             Main.hs
  ghc-options:         -Wall -ferror-spans -threaded -auto-all -caf-all -fno-warn-type-defaults

  other-modules:       Network.Anonymous.I2P.Util
                       Network.Anonymous.I2P.ProtocolSpec
                       Network.Anonymous.I2P.Protocol.ParserSpec
                       Spec
                       Main

  if flag(debug)
    cpp-options: -DDEBUG

  build-depends:       base                     >= 4.3          && < 5
                     , exceptions
                     , mtl
                     , transformers

                     , attoparsec
                     , bytestring
                     , uuid
                     , network
                     , network-simple

                     , hspec
                     , hspec-expectations
                     , hspec-attoparsec

                     , network-anonymous-i2p

source-repository head
  type: git
  location: git://github.com/solatis/haskell-network-anonymous-i2p.git
  branch: master