packages feed

ruby-marshal-0.0.1: ruby-marshal.cabal

name:          ruby-marshal
version:       0.0.1
synopsis:      Parse a subset of Ruby objects serialised with Marshal.dump.
description:   Parse a subset of Ruby objects serialised with Marshal.dump.
homepage:      https://github.com/filib/ruby-marshal
license:       MIT
license-file:  LICENSE
author:        Philip Cunningham
maintainer:    hello@filib.io
category:      Data
build-type:    Simple
tested-with:   GHC == 7.8, GHC == 7.10
cabal-version: >= 1.10

Source-repository head
  type: git
  location: https://github.com/filib/ruby-marshal

flag developer
  default: False

library
  if flag(developer)
    ghc-options:
      -fprof-auto
      -rtsopts
  hs-source-dirs:
    src
  build-depends:
      base        >= 4.7 && < 5
    , cereal      >= 0.3.5.0 && < 0.5.0.0
    , bytestring  >= 0.9.0
    , containers  >= 0.5.0
    , string-conv >= 0.1
    , mtl         >= 2.2
    , vector      >= 0.10.0
  default-language:
    Haskell2010
  exposed-modules:
      Data.Ruby.Marshal
    , Data.Ruby.Marshal.Get
    , Data.Ruby.Marshal.Types
    , Data.Ruby.Marshal.Internal.Int

test-suite spec
  ghc-options:
    -Wall
  hs-source-dirs:
    src, test
  build-depends:
      base        >= 4.7 && < 5
    , cereal      >= 0.3.5.0 && < 0.5.0.0
    , bytestring  >= 0.9.0
    , containers  >= 0.5.0.0
    , hspec
    , mtl         >= 2.2
    , string-conv >= 0.1
    , vector      >= 0.10.0
  default-language:
    Haskell2010
  other-modules:
    Spec
  main-is:
    Spec.hs
  type:
    exitcode-stdio-1.0