packages feed

hruby-0.3.7: hruby.cabal

cabal-version:       >= 1.10
name:                hruby
version:             0.3.7
synopsis:            Embed a Ruby intepreter in your Haskell program !
description:         This doesn't work with Ruby 1.9. Everything you need should be in Foreign.Ruby.Safe.
license:             BSD3
license-file:        LICENSE
author:              Simon Marechal
maintainer:          bartavelle@gmail.com
-- copyright:
category:            Language
build-type:          Custom
extra-source-files:  test/*.rb
Tested-With:         GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.4

custom-setup
  setup-depends: Cabal, base, process

source-repository head
  type: git
  location: git://github.com/bartavelle/hruby.git


library
  exposed-modules:      Foreign.Ruby, Foreign.Ruby.Bindings, Foreign.Ruby.Helpers, Foreign.Ruby.Safe
  ghc-options:          -Wall
  build-depends:        base >= 4.6 && < 5
                        , aeson                >= 0.7
                        , bytestring           >= 0.10.0.2
                        , text                 >= 0.11
                        , attoparsec           >= 0.11 && < 0.14
                        , vector               >= 0.10
                        , unordered-containers >= 0.2 && < 0.3
                        , stm                  >= 2.4 && < 2.6
                        , scientific           >= 0.2 && < 0.4
  c-sources:            cbits/shim.c
  install-includes:     cbits/shim.h
  include-dirs:         cbits
  Includes:             ruby.h
  extra-libraries:      ruby
  default-language:     Haskell2010

Test-Suite test-roundtrip
  hs-source-dirs: test
  type:           exitcode-stdio-1.0
  ghc-options:    -Wall -threaded
  build-depends:  base >= 4.6 && < 5,hruby,aeson,QuickCheck,text,attoparsec,vector
  main-is:        roundtrip.hs
  default-language:     Haskell2010