packages feed

eths-rlp-0.1.0.0: eths-rlp.cabal

name:                eths-rlp
version:             0.1.0.0
synopsis:            Ethereum Recursive Length Prefix Encoding
description:         RLP encoding/decoding, as described in the Ethereum Yellowpaper
license:             MIT
license-file:        LICENSE
author:              Leonid Logvinov
maintainer:          logvinov.leon@gmail.com
copyright:           2016 Leonid Logvinov
category:            Ethereum, Finance, Data, Contracts, Network
build-type:          Simple
extra-source-files:  ChangeLog.md, README.md
cabal-version:       >=1.10

flag documentation
  default: False

library
  exposed-modules: Blockchain.Ethereum.RLP
  build-depends:
    base >= 4 && < 5,
    bytestring,
    binary,
    binary-strict
  if flag(documentation)
        build-depends: hscolour == 1.20.*
  hs-source-dirs:      src
  ghc-Options:         -Wall
  default-language:    Haskell2010

Test-Suite doctest
  Type:                 exitcode-stdio-1.0
  Default-Language:     Haskell2010
  HS-Source-Dirs:       test-suite
  Ghc-Options:          -threaded -Wall
  Main-Is:              DocTests.hs
  Build-Depends:
    base >= 4 && < 5,
    doctest

test-suite hspec
    build-depends:
      base,
      eths-rlp,
      bytestring,
      hspec,
      QuickCheck,
      quickcheck-instances
    default-language: Haskell2010
    hs-source-dirs:   test-suite
    main-is:          Spec.hs
    type:             exitcode-stdio-1.0

Source-Repository head
  Type:                 git
  Location:             https://github.com/LogvinovLeon/RLP