packages feed

settei-yaml-0.1.0.0: settei-yaml.cabal

cabal-version:      3.8
name:               settei-yaml
version:            0.1.0.0
synopsis:           YAML sources for Settei
description:
  Translate one strict YAML document into a provenance-aware Settei source
  while preserving exact node locations and rejecting ambiguous features.

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/fixtures/characterization/README.md
data-files:         test/fixtures/characterization/*.yaml

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.Yaml
  build-depends:
    , attoparsec    >=0.14.4  && <0.15
    , base          >=4.21    && <5
    , bytestring    >=0.12    && <0.13
    , conduit       >=1.3.6   && <1.4
    , containers    >=0.6.8   && <0.8
    , generic-lens  >=2.2     && <2.4
    , libyaml       >=0.1.4   && <0.2
    , scientific    >=0.3.7   && <0.4
    , settei        ==0.1.0.0
    , text          >=2.1     && <2.2

test-suite settei-yaml-tests
  import:          common
  type:            exitcode-stdio-1.0
  hs-source-dirs:  test
  main-is:         Main.hs
  other-modules:
    Paths_settei_yaml
    Settei.YamlCharacterizationTest
    Settei.YamlTest

  autogen-modules: Paths_settei_yaml
  build-depends:
    , base          >=4.21    && <5
    , bytestring    >=0.12    && <0.13
    , containers    >=0.6.8   && <0.8
    , generic-lens  >=2.2     && <2.4
    , settei        ==0.1.0.0
    , settei-yaml   ==0.1.0.0
    , tasty         >=1.5     && <1.6
    , tasty-hunit   >=0.10.2  && <0.11
    , text          >=2.1     && <2.2