bip39

BIP39 mnemonic codes in Haskell (docs.ppad.tech/bip39).
git clone git://git.ppad.tech/bip39.git
Log | Files | Refs | README | LICENSE

ppad-bip39.cabal (2069B)


      1 cabal-version:      3.0
      2 name:               ppad-bip39
      3 version:            0.3.0
      4 synopsis:           BIP39 mnemonic codes.
      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.8.1
     12 extra-doc-files:    CHANGELOG
     13 extra-source-files:
     14   etc/english.txt
     15   etc/chinese_simplified.txt
     16   etc/chinese_traditional.txt
     17   etc/czech.txt
     18   etc/french.txt
     19   etc/italian.txt
     20   etc/japanese.txt
     21   etc/korean.txt
     22   etc/portuguese.txt
     23   etc/spanish.txt
     24 
     25 description:
     26   [BIP39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki)
     27   mnemonic codes for deterministic key generation.
     28 
     29 flag llvm
     30   description: Use GHC's LLVM backend.
     31   default:     False
     32   manual:      True
     33 
     34 source-repository head
     35   type:     git
     36   location: git.ppad.tech/bip39.git
     37 
     38 library
     39   default-language: Haskell2010
     40   hs-source-dirs:   lib
     41   ghc-options:
     42       -Wall
     43   if flag(llvm)
     44     ghc-options: -fllvm -O2
     45   exposed-modules:
     46       Crypto.KDF.BIP39
     47   build-depends:
     48       base >= 4.9 && < 5
     49     , bytestring >= 0.9 && < 0.13
     50     , ppad-pbkdf >= 0.2 && < 0.3
     51     , ppad-sha256 >= 0.2.3 && < 0.3
     52     , ppad-sha512 >= 0.1.3 && < 0.2
     53     , primitive >= 0.8 && < 0.10
     54     , text >= 2.1 && < 2.2
     55     , text-icu >= 0.8 && < 0.9
     56 
     57 test-suite bip39-tests
     58   type:                exitcode-stdio-1.0
     59   default-language:    Haskell2010
     60   hs-source-dirs:      test
     61   main-is:             Main.hs
     62   other-modules:
     63     Vectors
     64 
     65   ghc-options:
     66     -rtsopts -Wall -O2
     67 
     68   build-depends:
     69       base
     70     , aeson
     71     , array
     72     , bytestring
     73     , ppad-base16
     74     , ppad-bip32
     75     , ppad-bip39
     76     , tasty
     77     , tasty-hunit
     78     , text
     79     , text-icu
     80     , vector
     81 
     82 benchmark bip39-bench
     83   type:                exitcode-stdio-1.0
     84   default-language:    Haskell2010
     85   hs-source-dirs:      bench
     86   main-is:             Main.hs
     87 
     88   ghc-options:
     89     -rtsopts -O2 -Wall
     90 
     91   build-depends:
     92       base
     93     , array
     94     , bytestring
     95     , criterion
     96     , deepseq
     97     , ppad-bip39
     98