cabal-version: 3.0

-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

name:           zcash-haskell
version:        0.7.0.1
synopsis:       Utilities to interact with the Zcash blockchain
description:    Please see the README on the repo at <https://git.vergara.tech/Vergara_Tech/zcash-haskell#readme>
category:       Blockchain
author:         Rene Vergara
maintainer:     pitmutt@vergara.tech
copyright:      (c)2022-2024 Vergara Technologies LLC
license:        MIT
license-file:   LICENSE
build-type:     Custom
extra-source-files:
  Setup.hs
extra-doc-files:
    README.md
    CHANGELOG.md

custom-setup
  setup-depends:
      base >= 4.7 && < 5
    , Cabal >= 3.0.0.0
    , directory >= 1.3.6.0
    , filepath >= 1.3.0.2
    , envy
    , regex-compat
    , regex-base

library
  exposed-modules:
      C.Zcash
      ZcashHaskell.Keys
      ZcashHaskell.Orchard
      ZcashHaskell.Sapling
      ZcashHaskell.Transparent
      ZcashHaskell.Types
      ZcashHaskell.Utils
  hs-source-dirs:
      src
  build-depends:
      aeson
    , base >=4.7 && <5
    , base58-bytestring
    , borsh >=0.2
    , bytestring
    , cryptonite
    , foreign-rust
    , generics-sop
    , hexstring >=0.12.1
    , http-conduit
    , http-client
    , memory
    , binary
    , text
    , haskoin-core
    , secp256k1-haskell >= 1.1
    , vector
    , utf8-string
  build-tool-depends:
    c2hs:c2hs
  default-language: Haskell2010

test-suite zcash-haskell-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      aeson
    , base >=4.7 && <5
    , bytestring
    , haskoin-core
    , hexstring >= 0.12.1
    , hspec
    , HUnit
    , QuickCheck
    , quickcheck-transformer
    , text
    , zcash-haskell
    , binary
    , cryptonite
    , secp256k1-haskell
    , http-conduit
  pkgconfig-depends: rustzcash_wrapper
  default-language: Haskell2010