packages feed

bitcoin-block-0.12.0: bitcoin-block.cabal

name: bitcoin-block
category: Network, Finance
version: 0.12.0
license: MIT
license-file: LICENSE
copyright: (c) 2015 Leon Mergen
author: Leon Mergen
maintainer: leon@solatis.com
homepage: http://www.leonmergen.com/opensource.html
bug-reports: http://github.com/solatis/haskell-bitcoin-block/issues
stability: experimental
synopsis: Utility functions for manipulating bitcoin blocks
description:
            This library provides functionality for parsing, inspecting,
            hashing and serialization of bitcoin blocks. 
            
build-type: Simple
data-files: LICENSE, README.md
cabal-version: >= 1.10
tested-with: GHC == 7.6, GHC == 7.8, GHC == 7.10

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

  exposed-modules:     Data.Bitcoin.Block
  
  other-modules:       Data.Bitcoin.Block.Types

  build-depends:       base                     >= 4.3          && < 5
                     , bytestring
                     , binary
                     , hexstring
                     , cryptohash
                     , largeword
                     
                     , bitcoin-tx
                     , bitcoin-types

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

  other-modules:       Data.Bitcoin.BlockSpec
                       Spec
                       Main

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

                     , bytestring
                     , hexstring

                     , bitcoin-tx
                     , bitcoin-types
                     , bitcoin-block                     

source-repository head
  type: git
  location: git://github.com/solatis/haskell-bitcoin-block.git
  branch: master