packages feed

settei-optparse-applicative-0.3.0.0: settei-optparse-applicative.cabal

cabal-version: 3.8
name: settei-optparse-applicative
version: 0.3.0.0
synopsis: optparse-applicative sources for Settei
description:
  Parse generic and named command-line overrides into provenance-aware Settei
  source fragments while preserving occurrence order.

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:
  test/compile-fail/OldResolutionDispatch.hs
  test/compile-fail/OldValidatedDispatch.hs
  test/compile-pass/CheckedDispatch.hs

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.Optparse
  build-depends:
    base >=4.21 && <5,
    containers >=0.6.8 && <0.8,
    generic-lens >=2.2 && <2.4,
    optparse-applicative >=0.19 && <0.20,
    settei ==0.3.0.0,
    text >=2.1 && <2.2,

test-suite settei-optparse-applicative-tests
  import: common
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  other-modules: Settei.OptparseTest
  build-depends:
    base >=4.21 && <5,
    containers >=0.6.8 && <0.8,
    generic-lens >=2.2 && <2.4,
    optparse-applicative >=0.19 && <0.20,
    settei ==0.3.0.0,
    settei-env ==0.3.0.0,
    settei-optparse-applicative ==0.3.0.0,
    tasty >=1.5 && <1.6,
    tasty-hunit >=0.10.2 && <0.11,
    text >=2.1 && <2.2,