packages feed

settei-dhall-0.2.0.0: settei-dhall.cabal

cabal-version:      3.8
name:               settei-dhall
version:            0.2.0.0
synopsis:           Dhall sources for Settei
description:
  Evaluate typed Dhall expressions into provenance-aware Settei sources with
  explicit, enforceable import policies.

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/*.dhall
  test/fixtures/characterization/local/*.dhall

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.Dhall
  build-depends:
    , aeson         >=2.2     && <2.3
    , base          >=4.21    && <5
    , containers    >=0.6.8   && <0.8
    , dhall         >=1.42.3  && <1.43
    , dhall-json    ==1.7.12
    , directory     >=1.3.8   && <1.4
    , filepath      >=1.5.4   && <1.6
    , generic-lens  >=2.2     && <2.4
    , megaparsec    >=9       && <10
    , scientific    >=0.3.7   && <0.4
    , settei        ==0.2.0.0
    , text          >=2.1     && <2.2
    , transformers  >=0.6.1   && <0.7

test-suite settei-dhall-prototype-tests
  import:         common
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Main.hs
  other-modules:  Settei.DhallPrototypeTest
  build-depends:
    , base          >=4.21   && <5
    , containers    >=0.6.8  && <0.8
    , dhall         >=1.42.3 && <1.43
    , directory     >=1.3.8  && <1.4
    , filepath      >=1.5.4  && <1.6
    , lens          >=5.3    && <5.4
    , tasty         >=1.5    && <1.6
    , tasty-hunit   >=0.10.2 && <0.11
    , temporary     >=1.3    && <1.4
    , text          >=2.1    && <2.2
    , transformers  >=0.6.1  && <0.7

test-suite settei-dhall-tests
  import:          common
  type:            exitcode-stdio-1.0
  hs-source-dirs:  test
  main-is:         ProductionMain.hs
  other-modules:
    Paths_settei_dhall
    Settei.DhallTest

  autogen-modules: Paths_settei_dhall
  build-depends:
    , base          >=4.21    && <5
    , containers    >=0.6.8   && <0.8
    , dhall         >=1.42.3  && <1.43
    , directory     >=1.3.8   && <1.4
    , filepath      >=1.5.4   && <1.6
    , generic-lens  >=2.2     && <2.4
    , lens          >=5.3     && <5.4
    , settei        ==0.2.0.0
    , settei-dhall  ==0.2.0.0
    , tasty         >=1.5     && <1.6
    , tasty-hunit   >=0.10.2  && <0.11
    , temporary     >=1.3     && <1.4
    , text          >=2.1     && <2.2
    , transformers  >=0.6.1   && <0.7