packages feed

om-legion-6.9.0.4: om-legion.cabal

cabal-version:       3.0
name:                om-legion
version:             6.9.0.4
synopsis:            Legion Framework.
description:         Framework for managing shared, replicated state across a
                     number of homogeneous nodes.
homepage:            https://github.com/owensmurray/om-legion
license:             MIT
license-file:        LICENSE
author:              Rick Owens
maintainer:          rick@owensmurray.com
copyright:           2022 Owens Murray, LLC.
category:            Network
build-type:          Simple
extra-source-files:
  LICENSE
  README.md
  test/k8s/k8s.mustache

common dependencies
  build-depends:
    , aeson              >= 2.2.1.0  && < 2.3
    , async              >= 2.2.5    && < 2.3
    , base               >= 4.19.0.0 && < 4.20
    , binary             >= 0.8.9.1  && < 0.9
    , bytestring         >= 0.12.0.2 && < 0.13
    , clock              >= 0.8.4    && < 0.9
    , conduit            >= 1.3.5    && < 1.4
    , containers         >= 0.6.8    && < 0.7
    , crdt-event-fold    >= 1.8.0.2  && < 1.9
    , data-default-class >= 0.1.2.0  && < 0.2
    , http-api-data      >= 0.6      && < 0.7
    , monad-logger       >= 0.3.40   && < 0.4
    , mtl                >= 2.3.1    && < 2.4
    , network            >= 3.1.4.0  && < 3.2
    , om-fork            >= 0.7.1.9  && < 0.8
    , om-logging         >= 1.1.0.8  && < 1.2
    , om-show            >= 0.1.2.9  && < 0.2
    , om-socket          >= 0.11.0.5 && < 0.12
    , om-time            >= 0.3.0.4  && < 0.4
    , random-shuffle     >= 0.0.4    && < 0.1
    , safe-exceptions    >= 0.1.7.4  && < 0.2
    , stm                >= 2.5.2.1  && < 2.6
    , text               >= 2.1      && < 2.2
    , time               >= 1.12.2   && < 1.13
    , transformers       >= 0.6.1.0  && < 0.7
    , unliftio-core      >= 0.2.1.0  && < 0.3
    , uuid               >= 1.3.15   && < 1.4

common warnings
  ghc-options:
    -Wall
    -Wmissing-deriving-strategies
    -Wmissing-export-lists
    -Wmissing-import-lists
    -Wredundant-constraints

library
  import: dependencies, warnings
  exposed-modules:     
    OM.Legion
  other-modules:       
    OM.Legion.Conduit
    OM.Legion.Connection
    OM.Legion.MsgChan
    OM.Legion.Runtime
  -- other-extensions:    
  hs-source-dirs: src
  default-language: Haskell2010

common test-dependencies
  build-depends:
    , om-legion

    , hostname         >= 1.0      && < 1.1
    , hspec            >= 2.11.7   && < 2.12
    , lens             >= 5.2.3    && < 5.3
    , lens-aeson       >= 1.2.3    && < 1.3
    , mustache         >= 2.4.2    && < 2.5
    , om-kubernetes    >= 2.3.1.8  && < 2.4
    , safe             >= 0.3.20   && < 0.4
    , template-haskell >= 2.21.0.0 && < 2.22
    , unix             >= 2.8.5.0  && < 2.9
    , unliftio         >= 0.2.25.0 && < 0.3
    , vector           >= 0.13.1.0 && < 0.14

executable om-legion-test-node
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-node.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-driver
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-driver.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-run
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-run.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-inc
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-inc.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010
  ghc-options: -threaded

executable om-legion-test-stable
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-stable.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010

executable om-legion-test-profile
  import: warnings, dependencies, test-dependencies
  main-is: om-legion-test-profile.hs
  hs-source-dirs: test
  other-modules:
    Test.OM.Legion
  default-language: Haskell2010
  ghc-options:
    -threaded