packages feed

effectful-opaleye-0.1.1.0: effectful-opaleye.cabal

cabal-version:      3.0
name:               effectful-opaleye
version:            0.1.1.0
synopsis:
  effectful support for high-level PostgreSQL operations via Opaleye.
description:
  See the README for an overview, or the documentation in 'Effectful.Opaleye'.
license:            BSD-3-Clause
license-file:       LICENSE
author:             Frederick Pringle
maintainer:         frederick.pringle@fpringle.com
copyright:          Copyright(c) Frederick Pringle 2025
homepage:           https://github.com/fpringle/effectful-postgresql
build-type:         Simple
category:           Database
extra-doc-files:    README.md
                    CHANGELOG.md

tested-with:
    GHC == 8.8.4
  , GHC == 8.10.7
  , GHC == 9.0.2
  , GHC == 9.2.4
  , GHC == 9.2.8
  , GHC == 9.4.2
  , GHC == 9.4.5
  , GHC == 9.6.1
  , GHC == 9.6.7
  , GHC == 9.8.2
  , GHC == 9.10.2

common warnings
  ghc-options: -Wall -Wno-unused-do-bind -Wunused-packages

common deps
  build-depends:
    , base >= 4 && < 5
    , effectful-core >= 2.3 && < 2.7
    , effectful-th >= 1.0.0.1 && < 1.0.1
    , opaleye >= 0.9 && < 0.11
    , product-profunctors >= 0.9 && < 0.12
    , effectful-postgresql >= 0.1 && < 0.2
    , postgresql-simple >= 0.7 && < 0.8
    , text >= 2.0 && < 2.2
    , containers >= 0.6 && < 0.8
    , pretty >= 1.1.1.0 && < 1.2

common extensions
  default-extensions:
    DataKinds
    FlexibleContexts
    GADTs
    LambdaCase
    ScopedTypeVariables
    TypeApplications
    TypeFamilies
    TypeOperators

library
  import:
      warnings
    , deps
    , extensions
  exposed-modules:
      Effectful.Opaleye
      Effectful.Opaleye.Effect
      Effectful.Opaleye.Count
  -- other-extensions:
  hs-source-dirs:   src
  default-language: Haskell2010