packages feed

hcoap-0.1.2.0: hcoap.cabal

copyright:           Copyright (c) 2016, Ulf Lilleengen
name:                hcoap
version:             0.1.2.0
synopsis:            Library for handling CoAP protocol
license:             BSD3
license-file:        LICENSE
author:              Ulf Lilleengen
maintainer:          ulf.lilleengen@gmail.com
category:            Network
build-type:          Simple
homepage:            https://github.com/lulf/hcoap
description:         CoAP library for writing CoAP clients, servers or just for decoding and encoding
                     CoAP messages. The Network.CoAP.Server and Network.CoAP.Client modules allows
                     building CoAP servers and clients on top of a messaging layer which provides
                     reliable transport of CoAP requests/responses.
synopsis:            CoAP implementation for Haskell.
stability:           experimental 
cabal-version:       >=1.10

extra-doc-files:     README.md

library
  exposed-modules: Network.CoAP.Server, Network.CoAP.Client, Network.CoAP.Message, Network.CoAP.Transport
  other-modules: Network.CoAP.Types, Network.CoAP.MessageCodec, Network.CoAP.Messaging, Network.CoAP.Internal

  build-depends:       base >= 4 && < 5,
                       bytestring >= 0.10 && < 0.11,
                       binary >= 0.7 && < 0.8,
                       network >= 2.6 && < 2.7,
                       stm >= 2.4 && < 2.5,
                       mtl >= 2.2 && < 2.3,
                       time >= 1.5 && < 1.6,
                       random >= 1.1 && < 1.2,
                       async >= 2.1 && < 2.2,
                       network-uri >= 2.6 && < 3,
                       iproute >= 1.7 && < 2,
                       dns >= 2 && < 3
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite hcoap-test
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  main-is:          Spec.hs
  build-depends:    base,
                    hcoap,
                    network,
                    QuickCheck,
                    HUnit,
                    random,
                    async,
                    bytestring
  ghc-options:      -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

executable hcoap-example-server
  hs-source-dirs:      example-server
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base,
                       network,
                       bytestring,
                       network-uri,
                       hcoap
  default-language:    Haskell2010

executable hcoap-example-client
  hs-source-dirs:      example-client
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base,
                       network,
                       bytestring,
                       network-uri,
                       hcoap
  default-language:    Haskell2010

source-repository head
  type:     git
  location: git://github.com/lulf/hcoap.git