packages feed

squeal-postgresql-qq-0.1.2.0: squeal-postgresql-qq.cabal

cabal-version:       3.0
name:                squeal-postgresql-qq
version:             0.1.2.0
synopsis:            QuasiQuoter transforming raw sql into Squeal expressions.
-- description:         
homepage:            https://github.com/owensmurray/squeal-postgresql-qq
license:             MIT
license-file:        LICENSE
author:              Rick Owens
maintainer:          rick@owensmurray.com
copyright:           2025 Rick Owens
-- category:            
build-type:          Simple
extra-source-files:
  README.md
  LICENSE
  changelog.md

common dependencies
  build-depends:
    , aeson             >= 2.1.2.1  && < 2.3
    , base              >= 4.18.3.0 && < 4.22
    , bytestring        >= 0.11.3.0 && < 0.13
    , generics-sop      >= 0.5.1.3  && < 0.6
    , postgresql-syntax >= 0.4.1    && < 0.5
    , squeal-postgresql >= 0.9.1.3  && < 0.10
    , template-haskell  >= 2.20.0.0 && < 2.24
    , text              >= 1.2.5.0  && < 2.2
    , time              >= 1.9.3    && < 1.15
    , uuid              >= 1.3.15   && < 1.4

common warnings
  ghc-options:
    -Wmissing-deriving-strategies
    -Wmissing-export-lists
    -Wmissing-import-lists
    -Wredundant-constraints
    -Wall

library
  import: dependencies, warnings
  exposed-modules:     
    Squeal.QuasiQuotes
  other-modules:
    Squeal.QuasiQuotes.Delete
    Squeal.QuasiQuotes.Insert
    Squeal.QuasiQuotes.MonoRow
    Squeal.QuasiQuotes.Query
    Squeal.QuasiQuotes.Update
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite test
  import: dependencies, warnings
  main-is: test.hs
  other-modules:
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  default-language: Haskell2010
  build-depends:
    squeal-postgresql-qq
    , hspec >= 2.11.7 && < 2.12