packages feed

bitcoin-script-0.9.1: bitcoin-script.cabal

name: bitcoin-script
category: Network, Finance
version: 0.9.1
license: MIT
license-file: LICENSE
copyright: (c) 2015 Leon Mergen
author: Leon Mergen
maintainer: leon@solatis.com
homepage: http://github.com/solatis/haskell-bitcoin-script
bug-reports: http://github.com/solatis/haskell-bitcoin-script/issues
stability: experimental
synopsis: Compilation, manipulation and decompilation of Bitcoin scripts
description:
   Provides pure functions to compile, decompile and manipulate Bitcoin scripts.
   This project relies heavily on the Haskoin project for the compiling and
   decompiling of the script assembly, and continuously merges changes downstream.

   The advantage this library has over Haskoin is that it uses very few
   dependencies and doesn't rely on external libraries such as LevelDB and snappy.            
                      
build-type: Simple
data-files: LICENSE, README.md
cabal-version: >= 1.10
tested-with: GHC == 7.6, GHC == 7.8, GHC == 7.10

library
  hs-source-dirs:      src
  ghc-options:         -Wall -ferror-spans
  default-language:    Haskell2010

  exposed-modules:     Bitcoin.Script

  other-modules:       Bitcoin.Script.Types 
  
  build-depends:       base                     >= 4.3          && < 5
                     , text
                     , bytestring
                     , base16-bytestring
                     , binary

test-suite test-suite
  type:                exitcode-stdio-1.0
  ghc-options:         -Wall -ferror-spans -threaded -auto-all -caf-all -fno-warn-type-defaults
  default-language:    Haskell2010
  hs-source-dirs:      test
  main-is:             Main.hs

  other-modules:       Bitcoin.ScriptSpec
                       Spec
                       Main

  build-depends:       base                     >= 4.3          && < 5
                     , hspec
                     , hspec-expectations

                     , bytestring
                     , bitcoin-script

source-repository head
  type: git
  location: git://github.com/solatis/haskell-bitcoin-script.git
  branch: master