packages feed

crypto-multihash-0.3.0.0: crypto-multihash.cabal

name:                crypto-multihash
version:             0.3.0.0
synopsis:            Multihash library on top of cryptonite crypto library
description:         Multihash is a protocol for encoding the hash algorithm
                     and digest length at the start of the digest, see the official
                     <https://github.com/jbenet/multihash/ multihash github>.
                     Usage and additional informations are on README.md
homepage:            https://github.com/mseri/crypto-multihash#readme
license:             BSD3
license-file:        LICENSE
author:              Marcello Seri
maintainer:          marcello.seri@gmail.com
copyright:           2016 Marcello Seri
category:            Cryptography
stability:           Experimental
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Crypto.Multihash
  ghc-options:         -Wall -fwarn-tabs -fno-warn-name-shadowing -fwarn-pointless-pragmas
  build-depends:       base >= 4.7 && < 5
                     , base58-bytestring
                     , bytestring
                     , containers
                     , cryptonite
                     , memory
  default-language:    Haskell2010

executable mh
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base
                     , bytestring
                     , crypto-multihash
  default-language:    Haskell2010

test-suite crypto-multihash-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , bytestring
                     , crypto-multihash
                     , hspec
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/mseri/crypto-multihash