packages feed

bitcoind-regtest-0.1.0.0: bitcoind-regtest.cabal

cabal-version:      2.4
name:               bitcoind-regtest
version:            0.1.0.0
synopsis:           A library for working with bitcoin-core regtest networks
homepage:           https://github.com/GambolingPangolin/bitcoind-rpc
license:            ISC
author:             Ian Shipman
maintainer:         ics@gambolingpangolin.com
build-type:         Simple
extra-source-files: CHANGELOG.md

common core
    default-language: Haskell2010
    ghc-options:      -Wall -fno-warn-unused-do-bind
    build-depends:
          base                          ^>=4.12
        , bitcoind-rpc
        , cereal                        ^>=0.5
        , haskoin-core                   >=0.9      && <0.12
        , http-client                   ^>=0.6
        , process                       ^>=1.6
        , servant                        >=0.15     && <0.18
        , servant-client                 >=0.15     && <0.18
        , temporary                     ^>=1.3
        , text                          ^>=1.2

library
    import:         core
    hs-source-dirs: src/

    exposed-modules:
        Bitcoin.Core.Regtest

    build-depends:
        containers                       >=0.5      && <0.7


test-suite bitcoind-rpc-tests
    import:         core
    type:           exitcode-stdio-1.0
    main-is:        Main.hs
    hs-source-dirs: test/
    build-depends:
          bitcoind-regtest
        , tasty                         ^>=1.2
        , tasty-hunit                   ^>=0.10