packages feed

hinterface-2.0.1: hinterface.cabal

name:                hinterface
version:             2.0.1
synopsis:            Haskell / Erlang interoperability library
description:         A library for building nodes of a distributed Erlang system in Haskell.

                     Nodes can be created and registered to an epmd, Erlang terms can be
                     marshalled to/from Erlangs binary term representation and message can
                     be sent to or received from processes running on a different node.

                     In it's preliminary state hinterface supports of Erlangs binary terms
                     and a subset of the distribution protocol.

homepage:            https://github.com/lindenbaum/hinterface
license:             BSD3
license-file:        LICENSE
author:              Timo Koepke, Sven Heyll
maintainer:          timo.koepke@googlemail.com, sven.heyll@gmail.com
copyright:           2016-2020 Timo Koepke, Sven Heyll
category:            Language
build-type:          Simple
extra-source-files:  README.md, .travis.yml, Setup.hs, .gitignore, cabal.project
cabal-version:       >=1.22

library
  hs-source-dirs:      src
  exposed-modules:     Util.IOExtra
                     , Util.BufferedIOx
                     , Util.Socket
                     , Network.BufferedSocket
                     , Util.Binary
                     , Util.FloatCast
                     , Foreign.Erlang.NodeState
                     , Foreign.Erlang.NodeData
                     , Foreign.Erlang.Epmd
                     , Foreign.Erlang.Digest
                     , Foreign.Erlang.Handshake
                     , Foreign.Erlang.Term
                     , Foreign.Erlang.LocalNode
                     , Foreign.Erlang.ControlMessage
                     , Foreign.Erlang.Mailbox
                     , Foreign.Erlang.Connection
  default-extensions:  OverloadedStrings
                     , NamedFieldPuns
                     , FlexibleContexts
                     , PatternSynonyms
                     , ViewPatterns
  ghc-options:         -Wall -funbox-strict-fields
  build-depends:       QuickCheck >=2.11 && <2.14
                     , array >=0.5.2.0 && <0.6
                     , async >=2.2.1 && <2.3
                     , base >= 4.12 && < 5
                     , binary >=0.8.5.1 && <0.9
                     , bytestring >=0.10.8.2 && <0.11
                     , containers >=0.5.11.0 && <0.7
                     , cryptonite == 0.26.*
                     , deepseq >= 1.4 && <1.5
                     , exceptions >=0.10.0 && <0.11
                     , lifted-async >=0.10.0.2 && <0.11
                     , lifted-base >=0.2.3.12 && <0.3
                     , memory == 0.15.*
                     , monad-control >=1.0.2.3 && <1.1
                     , monad-logger >=0.3.29 && <0.4
                     , mtl >=2.2.2 && <2.3
                     , network == 3.1.1.*
                     , random ==1.1.*
                     , resourcet >=1.2.1 && <1.3
                     , safe-exceptions >=0.1.7.0 && <0.2
                     , stm >=2.4.5.0 && <2.6
                     , text >=1.2.3.0 && <1.3
                     , transformers >=0.5.5.0 && <0.6
                     , transformers-base >=0.4.5.2 && <0.5
                     , vector >=0.12.0.1 && <0.13

  default-language:    Haskell2010

test-suite hinterface-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       QuickCheck >=2.11.3 && <2.14
                     , async
                     , base >= 4.12 && < 5
                     , binary
                     , bytestring
                     , hinterface
                     , hspec >= 2.4 && < 4
                     , monad-logger
                     , transformers
                     , vector
  build-tool-depends: hspec-discover:hspec-discover
  other-modules:       Foreign.Erlang.NodeDataSpec
                     , Foreign.Erlang.HandshakeSpec
                     , Foreign.Erlang.ControlMessageSpec
                     , Foreign.Erlang.TermSpec
                     , Foreign.Erlang.Term2Experimental
  default-extensions:  AllowAmbiguousTypes
                     , ConstraintKinds
                     , DataKinds
                     , DeriveFoldable
                     , DeriveFunctor
                     , DeriveGeneric
                     , DeriveTraversable
                     , ExistentialQuantification
                     , FlexibleContexts
                     , FlexibleInstances
                     , FunctionalDependencies
                     , GADTs
                     , GeneralizedNewtypeDeriving
                     , KindSignatures
                     , LambdaCase
                     , MultiParamTypeClasses
                     , NamedFieldPuns
                     , OverloadedLists
                     , OverloadedStrings
                     , PatternSynonyms
                     , RankNTypes
                     , ScopedTypeVariables
                     , StandaloneDeriving
                     , TemplateHaskell
                     , TupleSections
                     , TypeApplications
                     , TypeFamilies
                     , TypeInType
                     , TypeOperators
                     , ViewPatterns
  other-extensions:    CPP
                     , IncoherentInstances
                     , Strict
                     , StrictData
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/lindenbaum/hinterface.git