packages feed

haskoin-protocol-0.0.1.1: haskoin-protocol.cabal

name:                haskoin-protocol
version:             0.0.1.1
synopsis:            Implementation of the Bitcoin network protocol messages
description:         
    This package provides all of the basic types used for the Bitcoin 
    networking protocol together with Data.Binary instances for efficiently
    serializing and de-serializing them.
homepage:            http://github.com/plaprade/haskoin-protocol
bug-reports:         http://github.com/plaprade/haskoin-protocol/issues
stability:           experimental
license:             PublicDomain
license-file:        UNLICENSE
author:              Philippe Laprade
maintainer:          plaprade+hackage@gmail.com
category:            Bitcoin, Finance, Network
build-type:          Simple
cabal-version:       >= 1.9.2

source-repository head
    type:     git
    location: git://github.com/plaprade/haskoin-protocol.git

library
    exposed-modules:   Network.Haskoin.Protocol,
                       Network.Haskoin.Protocol.Arbitrary
    other-modules:     Network.Haskoin.Protocol.Message,
                       Network.Haskoin.Protocol.VarInt,
                       Network.Haskoin.Protocol.BlockHeader,
                       Network.Haskoin.Protocol.Addr, 
                       Network.Haskoin.Protocol.Tx, 
                       Network.Haskoin.Protocol.NotFound, 
                       Network.Haskoin.Protocol.NetworkAddress, 
                       Network.Haskoin.Protocol.Inv, 
                       Network.Haskoin.Protocol.VarString, 
                       Network.Haskoin.Protocol.GetBlocks, 
                       Network.Haskoin.Protocol.Ping, 
                       Network.Haskoin.Protocol.Script, 
                       Network.Haskoin.Protocol.InvVector, 
                       Network.Haskoin.Protocol.Alert, 
                       Network.Haskoin.Protocol.MessageHeader, 
                       Network.Haskoin.Protocol.Block, 
                       Network.Haskoin.Protocol.Version, 
                       Network.Haskoin.Protocol.GetData, 
                       Network.Haskoin.Protocol.Headers, 
                       Network.Haskoin.Protocol.GetHeaders
    build-depends:     base           >= 4.6  && < 4.7, 
                       binary         >= 0.7  && < 0.8, 
                       bytestring     >= 0.10 && < 0.11, 
                       haskoin-util   >= 0.0  && < 0.1,
                       haskoin-crypto >= 0.0  && < 0.1,
                       QuickCheck     >= 2.6  && < 2.7
    ghc-options:       -Wall -fno-warn-orphans

test-suite test-haskoin-protocol
    type:              exitcode-stdio-1.0
    main-is:           Main.hs
    other-modules:     Network.Haskoin.Protocol.Tests,
                       Units
    build-depends:     base                       >= 4.6  && < 4.7,
                       binary                     >= 0.7  && < 0.8, 
                       bytestring                 >= 0.10 && < 0.11, 
                       haskoin-util               >= 0.0  && < 0.1,
                       haskoin-crypto             >= 0.0  && < 0.1,
                       QuickCheck                 >= 2.6  && < 2.7,
                       test-framework             >= 0.8  && < 0.9,
                       test-framework-quickcheck2 >= 0.3  && < 0.4,
                       test-framework-hunit       >= 0.3  && < 0.4,
                       HUnit                      >= 1.2  && < 1.3
    hs-source-dirs:    . tests
    ghc-options:       -Wall -fno-warn-orphans