pg-query-0.0.1.0: pg-query.cabal
cabal-version: 2.2
-- This file has been generated from package.yaml by hpack version 0.36.1.
--
-- see: https://github.com/sol/hpack
name: pg-query
version: 0.0.1.0
synopsis: Parse PostgreSQL DDL and DML: Haskell bindings for libpg_query
description: pg-query offers Haskell bindings for @<https://github.com/pganalyze/libpg_query libpg_query>@, which makes use of the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.
category: Database, Data
homepage: https://git.sr.ht/~rhizomic/pg-query
author: rhizomic
maintainer: rhzmc@proton.me
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
PgQuery.proto
library
exposed-modules:
PgQuery
PgQuery.Internal.Parse
PgQuery.Internal.Proto.PgQuery
PgQuery.Internal.Proto.PgQuery_Fields
hs-source-dirs:
src
c-sources:
helpers/pg_query_helper.c
extra-libraries:
pg_query
build-tool-depends:
proto-lens-protoc:proto-lens-protoc
build-depends:
base >=4.19.1.0 && <5.0
, bytestring >=0.12.1.0 && <1.0
, lens >=5.2.3 && <6.0
, proto-lens >=0.7.1.5 && <1.0
, proto-lens-runtime >=0.7.0.6 && <1.0
, temporary >=1.3 && <2.0
, text >=2.1.1 && <3.0
, typed-process >=0.2.11.1 && <1.0
default-language: Haskell2010
test-suite pg-query-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
PgQuery.ParamsSpec
PgQuery.TriggerSpec
Paths_pg_query
autogen-modules:
Paths_pg_query
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends:
hspec-discover:hspec-discover
, proto-lens-protoc:proto-lens-protoc
build-depends:
base >=4.19.1.0 && <5.0
, bytestring >=0.12.1.0 && <1.0
, hspec
, hspec-contrib
, hspec-expectations-pretty-diff
, lens >=5.2.3 && <6.0
, pg-query
, proto-lens >=0.7.1.5 && <1.0
, proto-lens-runtime >=0.7.0.6 && <1.0
, temporary >=1.3 && <2.0
, text >=2.1.1 && <3.0
, typed-process >=0.2.11.1 && <1.0
default-language: Haskell2010