packages feed

erlang-ffi-1.0.0: erlang-ffi.cabal

cabal-version:      1.12
name:               erlang-ffi
version:            1.0.0
license:            GPL
license-file:       LICENSE
copyright:          2021 Arnold Szederjesi-Dragomir
maintainer:         szederjesiarnold@gmail.com
author:             Arnold Szederjesi-Dragomir
homepage:           https://github.com/Szetty/erlang-ffi#readme
bug-reports:        https://github.com/Szetty/erlang-ffi/issues
synopsis:           Send messages to an Erlang node using Haskell
description:
    Please see the README on GitHub at <https://github.com/Szetty/erlang-ffi#readme>

category:           Foreign
build-type:         Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
    type:     git
    location: https://github.com/Szetty/erlang-ffi

library
    exposed-modules:
        Foreign.Erlang
        Foreign.Erlang.Network
        Foreign.Erlang.OTP
        Foreign.Erlang.OTP.GenServer
        Foreign.Erlang.OTP.Mnesia
        Foreign.Erlang.Processes
        Foreign.Erlang.Types
        Foreign.Erlang.Utilities

    hs-source-dirs:   src
    other-modules:    Paths_erlang_ffi
    default-language: Haskell2010
    build-depends:
        MissingH >=1.0 && <=1.4.3.0,
        base >=4.7 && <5,
        binary >=0.2 && <0.9,
        bytestring >=0.10 && <=0.11.1,
        directory >=1.0 && <=1.3.6.1,
        filepath >=1.0 && <=1.4.2.1,
        network ==3.1.2.1,
        random >=1.0 && <=1.2

test-suite erlang-ffi-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:    Paths_erlang_ffi
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        MissingH >=1.0 && <=1.4.3.0,
        base >=4.7 && <5,
        binary >=0.2 && <0.9,
        bytestring >=0.10 && <=0.11.1,
        directory >=1.0 && <=1.3.6.1,
        erlang-ffi -any,
        filepath >=1.0 && <=1.4.2.1,
        hspec >=2.7.8 && <2.8,
        network ==3.1.2.1,
        random >=1.0 && <=1.2