ppad-tx.cabal (2006B)
1 cabal-version: 3.0 2 name: ppad-tx 3 version: 0.1.0 4 synopsis: Minimal Bitcoin transaction primitives. 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 Minimal Bitcoin transaction primitives for ppad libraries, including 15 raw transaction types, serialisation, txid computation, and sighash 16 calculation. 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/tx.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 Bitcoin.Prim.Tx 36 Bitcoin.Prim.Tx.Sighash 37 build-depends: 38 base >= 4.9 && < 5 39 , bytestring >= 0.9 && < 0.13 40 , deepseq >= 1.4 && < 2 41 , ppad-base16 >= 0.2.1 && < 0.3 42 , ppad-sha256 >= 0.3 && < 0.4 43 44 test-suite tx-tests 45 type: exitcode-stdio-1.0 46 default-language: Haskell2010 47 hs-source-dirs: test 48 main-is: Main.hs 49 50 ghc-options: 51 -rtsopts -Wall 52 53 build-depends: 54 base 55 , bytestring 56 , ppad-base16 57 , ppad-tx 58 , QuickCheck 59 , tasty 60 , tasty-hunit 61 , tasty-quickcheck 62 63 benchmark tx-bench 64 type: exitcode-stdio-1.0 65 default-language: Haskell2010 66 hs-source-dirs: bench 67 main-is: Main.hs 68 69 ghc-options: 70 -rtsopts -O2 -Wall 71 72 build-depends: 73 base 74 , bytestring 75 , criterion 76 , deepseq 77 , ppad-tx 78 79 benchmark tx-weigh 80 type: exitcode-stdio-1.0 81 default-language: Haskell2010 82 hs-source-dirs: bench 83 main-is: Weight.hs 84 85 ghc-options: 86 -rtsopts -O2 -Wall 87 88 build-depends: 89 base 90 , bytestring 91 , deepseq 92 , ppad-tx 93 , weigh