packages feed

bitcoin-api-0.12.0: bitcoin-api.cabal

name: bitcoin-api
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-api/issues
stability: experimental
synopsis: Provides access to the RPC API of Bitcoin Core
description:
   The Bitcoin Core application provides an HTTP RPC interface for communication.
   This library implements access to these functions. It builds on top of the
   `bitcoin-tx` and `bitcoin-script`, and as such provides an extremely flexible
   environment to create, manipulate and store transactions and custom scripts.
                      
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:     Network.Bitcoin.Api.Client
                       Network.Bitcoin.Api.Types
                       Network.Bitcoin.Api.Types.UnspentTransaction
                       Network.Bitcoin.Api.Blockchain
                       Network.Bitcoin.Api.Dump
                       Network.Bitcoin.Api.Mining
                       Network.Bitcoin.Api.Misc
                       Network.Bitcoin.Api.Transaction
                       Network.Bitcoin.Api.Wallet

  other-modules:       Network.Bitcoin.Api.Internal
                         
  build-depends:       base                     >= 4.3          && < 5
                     , text
                     , bytestring
                     , binary
                     , hexstring
                     , base58string

                     , aeson
                     , lens
                     , lens-aeson
                     , unordered-containers
                     , wreq

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

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:       Network.Bitcoin.Api.TestUtil
                       Network.Bitcoin.Api.ClientSpec
                       Network.Bitcoin.Api.BlockchainSpec
                       Network.Bitcoin.Api.MiningSpec                       
                       Network.Bitcoin.Api.WalletSpec                       
                       Network.Bitcoin.Api.DumpSpec
                       Network.Bitcoin.Api.MiscSpec                       
                       Spec
                       Main

  build-depends:       base                     >= 4.3          && < 5
                     , bytestring
                     , text
                     , base58string

                     , http-client
                     , wreq                     
                     , lens
                                          
                     , hspec
                     
                     , bitcoin-tx
                     , bitcoin-script
                     , bitcoin-api

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