packages feed

yasi-0.2.0.2: yasi.cabal

cabal-version: 2.4
name: yasi
version: 0.2.0.2
synopsis: Yet another string interpolator
description:
  Yet another string interpolator,
  with a different set of tradeoffs

category: String, Text, QuasiQuotes
homepage: https://github.com/amesgen/yasi
bug-reports: https://github.com/amesgen/yasi/issues
license: CC0-1.0
license-file: LICENSE
extra-source-files: README.md
author: amesgen
maintainer: amesgen@amesgen.de
extra-source-files: CHANGELOG.md

source-repository head
  location: https://github.com/amesgen/yasi
  type: git

common commons
  default-language: GHC2021
  ghc-options:
    -Wall
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints
    -fno-warn-name-shadowing
    -Wunused-packages

  default-extensions:
    BlockArguments
    LambdaCase
    OverloadedStrings
    QuasiQuotes
    RecordWildCards
    TemplateHaskell

library
  import: commons
  ghc-options: -Wmissing-export-lists
  hs-source-dirs: src
  exposed-modules:
    Yasi
    Yasi.Internal
    Yasi.Util

  build-depends:
    base >=4.16 && <5,
    ghc-hs-meta ^>=0.1,
    template-haskell >=2.16 && <2.24,
    text >=1.2 && <2.2,
    text-builder-linear ^>=0.1,
    text-display ^>=1,

test-suite tasty
  import: commons
  type: exitcode-stdio-1.0
  main-is: Driver.hs
  hs-source-dirs: test
  ghc-options:
    -threaded
    -rtsopts
    -with-rtsopts=-N

  build-tool-depends:
    tasty-discover:tasty-discover ^>=4.2

  build-depends:
    base,
    hedgehog >=1.0 && <1.6,
    tasty >=1.3 && <1.6,
    tasty-hedgehog >=1.0 && <1.5,
    tasty-hunit ^>=0.10,
    text,
    text-display,
    yasi,

  other-modules:
    Interpolations
    Segments
    Util