mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add libpg-query.
* gnu/packages/databases.scm (libpg-query-17): New variable. (libpg-query): New variable. Change-Id: Ida25dcb80cd3c112194b8c49ece39e858466feed
This commit is contained in:
parent
d15f90b70a
commit
ce8b2b5ebc
1 changed files with 32 additions and 0 deletions
|
@ -1387,6 +1387,38 @@ pictures, sounds, or video.")
|
|||
|
||||
(define-public postgresql postgresql-14)
|
||||
|
||||
(define-public libpg-query-17
|
||||
(package
|
||||
(name "libpg-query")
|
||||
(version "17-6.0.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/pganalyze/libpg_query.git")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1y4594pf2wl88m66z9xhxzmm675408dbw7bkg4snfcifij97f0c7"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f ; tests run as part of build
|
||||
#:make-flags
|
||||
#~(list (string-append "prefix=" #$output))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda _
|
||||
(setenv "CC" #$(cc-for-target)))))))
|
||||
(native-inputs
|
||||
(list which))
|
||||
(synopsis "Postgres SQL parser")
|
||||
(description "This package provides a Postgres SQL parser as a library.")
|
||||
(home-page "https://github.com/pganalyze/libpg_query")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public libpg-query libpg-query-17)
|
||||
|
||||
(define-public timescaledb
|
||||
(package
|
||||
(name "timescaledb")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue