packages feed

yasi-0.1.2.0: yasi.cabal

cabal-version: 2.4
name: yasi
version: 0.1.2.0

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: Haskell2010
  ghc-options: -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing
  if impl(ghc >= 8.2)
    ghc-options: -fhide-source-paths
  if impl(ghc >= 8.10)
    ghc-options: -Wunused-packages
  default-extensions: DeriveGeneric FlexibleContexts FlexibleInstances LambdaCase MultiParamTypeClasses OverloadedStrings QuasiQuotes RecordWildCards TemplateHaskell

library
  import: commons
  if impl(ghc >= 8.4)
    ghc-options: -Wmissing-export-lists
  hs-source-dirs: src
  exposed-modules:
    Yasi
    Yasi.Internal
    Yasi.Util
  build-depends:
      base >= 4.9 && < 5
    , template-haskell >= 2.11 && < 2.18
    , text ^>= 1.2
    , bytestring >= 0.10.8 && < 0.12

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
    , yasi
    , text
    , tasty >= 1.3 && <= 1.5
    , tasty-hunit ^>= 0.10
    , tasty-hedgehog ^>= 1.0
    , hedgehog ^>= 1.0
  other-modules:
      Segments
      Interpolations
      Util