diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-13 14:41:54 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-05-31 14:54:11 -0400 |
commit | e7ccfbed19ed385c7687414beb3279d8649d9a97 (patch) | |
tree | df05833c28b56eec3ad60302635da12a4fdbba7f /gnu/packages/databases.scm | |
parent | 38cb3572134c673460099a091a93abcb320e497f (diff) | |
download | guix-e7ccfbed19ed385c7687414beb3279d8649d9a97.tar.gz guix-e7ccfbed19ed385c7687414beb3279d8649d9a97.zip |
gnu: libpqxx: Update to 7.7.3.
* gnu/packages/databases.scm (libpqxx): Update to 7.7.3.
[source]: Use git.
[native-inputs]: Replace python-2 with python-wrapper. Add gcc-11.
[tests?]: Expound comment.
[phases]: Delete argument.
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index cd5045ed12..56f6b92b4c 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2788,29 +2788,20 @@ semantics.") (define-public libpqxx (package (name "libpqxx") - (version "4.0.1") + (version "7.7.3") (source (origin - (method url-fetch) - (uri (string-append - "http://pqxx.org/download/software/libpqxx/" - name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/jtv/libpqxx") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0f6wxspp6rx12fkasanb0z2g2gc8dhcfwnxagx8wwqbpg6ifsz09")))) + "1mrhsih5bhiin0l3c4vp22l9p7c5035m0vvqpx18c0407fkzc7hp")))) (build-system gnu-build-system) - (native-inputs - `(("python" ,python-2))) + (native-inputs (list gcc-11 python-wrapper)) (inputs (list postgresql)) - (arguments - `(#:tests? #f ; # FAIL: 1 - #:phases - (modify-phases %standard-phases - (add-before 'configure 'fix-sed-command - (lambda _ - ;; Newer sed versions error out if double brackets are not used. - (substitute* "configure" - (("\\[:space:\\]") "[[:space:]]")) - #t))))) + (arguments '(#:tests? #f)) ;tests require a running PostgreSQL server (synopsis "C++ connector for PostgreSQL") (description "Libpqxx is a C++ library to enable user programs to communicate with the |