packages feed

settei-0.1.0.0: settei.cabal

cabal-version:      3.8
name:               settei
version:            0.1.0.0
synopsis:           Typed, layered, explainable configuration
description:
  Settei provides an inspectable declaration language for typed configuration.
  This core package owns resolution, provenance, defaults, schemas, and reporting;
  sibling packages provide maintained source adapters.

homepage:           https://github.com/shinzui/settei
bug-reports:        https://github.com/shinzui/settei/issues
license:            BSD-3-Clause
license-file:       LICENSE
author:             shinzui
maintainer:         shinzui
category:           Configuration
build-type:         Simple
tested-with:        GHC ==9.12.4
extra-doc-files:    CHANGELOG.md
extra-source-files:
  README.md
  test/golden/*.json
  test/golden/*.txt

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

common common
  default-language:   GHC2024
  default-extensions:
    DeriveAnyClass
    DuplicateRecordFields
    OverloadedLabels
    OverloadedStrings

  ghc-options:        -Wall -Wcompat

library
  import:          common
  hs-source-dirs:  src
  exposed-modules:
    Settei
    Settei.Config
    Settei.Default
    Settei.Error
    Settei.Key
    Settei.Origin
    Settei.Prelude
    Settei.Provenance
    Settei.Render
    Settei.Report
    Settei.Resolve
    Settei.Schema
    Settei.Setting
    Settei.Source
    Settei.Value

  other-modules:
    Settei.Internal.Config
    Settei.Internal.Schema

  build-depends:
    , base          >=4.21  && <5
    , containers    >=0.6.8 && <0.8
    , generic-lens  >=2.2   && <2.4
    , lens          >=5.3   && <5.4
    , selective     >=0.7   && <0.8
    , text          >=2.1   && <2.2

test-suite settei-tests
  import:         common
  type:           exitcode-stdio-1.0
  hs-source-dirs: test src
  main-is:        Main.hs
  other-modules:
    Settei
    Settei.Config
    Settei.ConfigTest
    Settei.Default
    Settei.DefaultTest
    Settei.Error
    Settei.Internal.Config
    Settei.Internal.Schema
    Settei.Key
    Settei.KeyTest
    Settei.Origin
    Settei.Prelude
    Settei.Prototype.Free
    Settei.Provenance
    Settei.Render
    Settei.RenderTest
    Settei.Report
    Settei.Resolve
    Settei.ResolveTest
    Settei.Schema
    Settei.Setting
    Settei.Source
    Settei.SourceTest
    Settei.Value
    Settei.ValueTest

  build-depends:
    , base          >=4.21   && <5
    , containers    >=0.6.8  && <0.8
    , generic-lens  >=2.2    && <2.4
    , lens          >=5.3    && <5.4
    , selective     >=0.7    && <0.8
    , tasty         >=1.5    && <1.6
    , tasty-hunit   >=0.10.2 && <0.11
    , text          >=2.1    && <2.2