bip32

Pure Haskell BIP32 hierarchical deterministic wallets (docs.ppad.tech/bip32).
git clone git://git.ppad.tech/bip32.git
Log | Files | Refs | README | LICENSE

ppad-bip32.cabal (1920B)


      1 cabal-version:      3.0
      2 name:               ppad-bip32
      3 version:            0.3.2
      4 synopsis:           BIP32 hierarchical deterministic wallets.
      5 license:            MIT
      6 license-file:       LICENSE
      7 author:             Jared Tobin
      8 maintainer:         jared@ppad.tech
      9 category:           Cryptography
     10 build-type:         Simple
     11 tested-with:        GHC == 9.10.3
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki)
     15   hierarchical deterministic wallets and extended keys, with support for
     16   serialization and parsing.
     17 
     18 flag llvm
     19   description: Use GHC's LLVM backend.
     20   default:     False
     21   manual:      True
     22 
     23 source-repository head
     24   type:     git
     25   location: git.ppad.tech/bip32.git
     26 
     27 library
     28   default-language: Haskell2010
     29   hs-source-dirs:   lib
     30   ghc-options:
     31       -Wall
     32   if flag(llvm)
     33     ghc-options: -fllvm -O2
     34   exposed-modules:
     35       Crypto.HDKey.BIP32
     36   build-depends:
     37       base >= 4.9 && < 5
     38     , bytestring >= 0.9 && < 0.13
     39     , ppad-base58 >= 0.2.2 && < 0.3
     40     , ppad-fixed >= 0.1.3 && < 0.2
     41     , ppad-ripemd160 >= 0.1.4 && < 0.2
     42     , ppad-secp256k1 >= 0.5.2 && < 0.6
     43     , ppad-sha256 >= 0.2.4 && < 0.3
     44     , ppad-sha512 >= 0.1.4 && < 0.2
     45 
     46 test-suite bip32-tests
     47   type:                exitcode-stdio-1.0
     48   default-language:    Haskell2010
     49   hs-source-dirs:      test
     50   main-is:             Main.hs
     51 
     52   ghc-options:
     53     -rtsopts -Wall -O2
     54 
     55   build-depends:
     56       base
     57     , array
     58     , bytestring
     59     , ppad-base16
     60     , ppad-base58
     61     , ppad-bip32
     62     , ppad-fixed
     63     , tasty
     64     , tasty-hunit
     65 
     66 benchmark bip32-bench
     67   type:                exitcode-stdio-1.0
     68   default-language:    Haskell2010
     69   hs-source-dirs:      bench
     70   main-is:             Main.hs
     71 
     72   ghc-options:
     73     -rtsopts -O2 -Wall
     74 
     75   build-depends:
     76       base
     77     , array
     78     , bytestring
     79     , criterion
     80     , deepseq
     81     , ppad-bip32
     82     , ppad-fixed
     83     , ppad-secp256k1
     84