packages feed

keiro-ops-0.17.0.0: keiro-ops.cabal

cabal-version: 3.0
name: keiro-ops
version: 0.17.0.0
synopsis: Operational command-line interface for Keiro deployments
description:
  A standalone database-only console and embeddable command tree for inspecting
  and operating Keiro deployments.

license: BSD-3-Clause
license-file: LICENSE
author: Nadeem Bitar
maintainer: nadeem@gmail.com
copyright: 2026 Nadeem Bitar
category: Operations
homepage: https://github.com/shinzui/keiro#readme
bug-reports: https://github.com/shinzui/keiro/issues
build-type: Simple
tested-with: ghc >=9.12 && <9.13
extra-doc-files: CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/shinzui/keiro.git

common warnings
  ghc-options:
    -Wall
    -Wcompat
    -Widentities
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wpartial-fields
    -Wredundant-constraints

common shared
  default-language: GHC2024
  default-extensions:
    BlockArguments
    DeriveAnyClass
    DuplicateRecordFields
    ImportQualifiedPost
    LambdaCase
    OverloadedLabels
    OverloadedRecordDot
    OverloadedStrings

library
  import: warnings, shared
  hs-source-dirs: src
  exposed-modules:
    Keiro.Ops
    Keiro.Ops.Embed
    Keiro.Ops.Env
    Keiro.Ops.Inbox
    Keiro.Ops.Outbox
    Keiro.Ops.Parse
    Keiro.Ops.Pgmq
    Keiro.Ops.Projection
    Keiro.Ops.Rebuild
    Keiro.Ops.Render
    Keiro.Ops.ReplayAudit
    Keiro.Ops.Shard
    Keiro.Ops.Snapshot
    Keiro.Ops.Stream
    Keiro.Ops.Timer
    Keiro.Ops.Workflow

  build-depends:
    aeson >=2.2.2 && <2.3,
    base >=4.21 && <5,
    bytestring >=0.12 && <0.13,
    containers >=0.6 && <0.8,
    effectful >=2.6 && <2.7,
    effectful-core >=2.6 && <2.7,
    hasql >=1.10 && <1.11,
    keiro ^>=0.17.0.0,
    keiro-migrations ^>=0.17.0.0,
    keiro-pgmq ^>=0.17.0.0,
    kiroku-store >=0.8 && <0.9,
    optparse-applicative >=0.18 && <0.20,
    text >=2.1 && <2.2,
    time >=1.12 && <1.15,
    uuid >=1.3 && <1.4,
    vector >=0.13 && <0.14,

executable keiro-ops
  import: warnings, shared
  hs-source-dirs: app
  main-is: Main.hs
  ghc-options:
    -threaded
    -rtsopts
    -with-rtsopts=-N

  build-depends:
    base >=4.21 && <5,
    keiro-ops,

test-suite keiro-ops-test
  import: warnings, shared
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  ghc-options:
    -threaded
    -rtsopts
    -with-rtsopts=-N

  build-tool-depends: keiro-ops:keiro-ops
  build-depends:
    aeson >=2.2 && <2.3,
    base >=4.21 && <5,
    bytestring >=0.12 && <0.13,
    containers >=0.6 && <0.8,
    effectful >=2.6 && <2.7,
    effectful-core >=2.6 && <2.7,
    hasql >=1.10 && <1.11,
    hasql-transaction >=1.1 && <1.3,
    hspec >=2.11,
    keiro ^>=0.17.0.0,
    keiro-ops,
    keiro-pgmq ^>=0.17.0.0,
    keiro-test-support ^>=0.17.0.0,
    kiroku-store >=0.8 && <0.9,
    optparse-applicative >=0.18 && <0.20,
    pgmq-migration >=0.6 && <0.7,
    process >=1.6 && <1.7,
    text >=2.1 && <2.2,
    time >=1.12 && <1.15,
    uuid >=1.3 && <1.4,
    vector >=0.13 && <0.14,