packages feed

pms-infra-agent-server-0.0.2.0: pms-infra-agent-server.cabal

cabal-version:      2.4
name:               pms-infra-agent-server

-- The package version.
-- See the Haskell package versioning policy (PVP) for standards
-- guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary:     +-+------- breaking API changes
--                  | | +----- non-breaking API additions
--                  | | | +--- code changes with no API change
version:            0.0.2.0

-- A short (one-line) description of the package.
synopsis:           pms-infra-agent-server

-- A longer description of the package.
description:        README.md

license:            Apache-2.0
license-file:       LICENSE
author:             phoityne.hs@gmail.com
maintainer:         phoityne.hs@gmail.com
copyright:          2025-2026 phoityne.hs@gmail.com
category:           AI
build-type:         Simple
homepage:           https://github.com/phoityne/pms-infra-agent-server
bug-reports:        https://github.com/phoityne/pms-infra-agent-server/issues

-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
extra-doc-files:    README.md,
                    CHANGELOG.md

common warnings

library
    import:           warnings
    default-extensions: GADTs TypeFamilies
    exposed-modules:
        PMS.Infra.Agent.Server.CoreModel.Type
        PMS.Infra.Agent.Server.CoreModel.TH
        PMS.Infra.Agent.Server.CoreModel.Constant
        PMS.Infra.Agent.Server.CoreModel.Utility
        PMS.Infra.Agent.Server.Interface.Network
        PMS.Infra.Agent.Server.ProjectedContext.Core
        PMS.Infra.Agent.Server.ProjectedContext.Utility
        PMS.Infra.Agent.Server.ApplicationBase.Control
        PMS.Infra.Agent.Server.ApplicationBase.State.Idle
        PMS.Infra.Agent.Server.ApplicationBase.State.Listening
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerListen
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerRead
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerWrite
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerReadByte
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerWriteByte
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerClose
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerStatus
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.ServerEvents
        PMS.Infra.Agent.Server.ApplicationBase.State.Connected.InternalClientDisconnected
    build-depends:
        base                  >= 4.18 && < 5,
        data-default,
        monad-logger,
        mtl,
        lens,
        text,
        safe-exceptions,
        fast-logger,
        conduit,
        bytestring,
        transformers,
        stm,
        async,
        network,
        aeson,
        containers,
        template-haskell,
        iproute,
        pms-domain-model
    hs-source-dirs:   src
    default-language: Haskell2010

test-suite pms-infra-agent-server-test
    import:           warnings
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Spec.hs
    other-extensions: LambdaCase
    ghc-options:      -Wno-missing-home-modules
    build-depends:
        base ^>=4.18.0.0,
        hspec,
        hspec-discover,
        directory,
        process,
        stm,
        async,
        aeson,
        network,
        data-default,
        lens,
        containers,
        fast-logger,
        transformers,
        bytestring,
        iproute,
        safe-exceptions,
        pms-domain-model,
        pms-infra-agent-server
    build-tool-depends:
        hspec-discover:hspec-discover