diff options
Diffstat (limited to 'gnu/packages/databases.scm')
-rw-r--r-- | gnu/packages/databases.scm | 179 |
1 files changed, 91 insertions, 88 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index cc0f0d28e9..762d8bd402 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -1190,14 +1190,14 @@ and high-availability (HA).") (define-public postgresql-15 (package (name "postgresql") - (version "15.1") + (version "15.3") (source (origin (method url-fetch) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "1bi19sqmri569hyjvbk8grlws7f5dalsqz87wkgx1yjafcyz5zb4")) + "0cnrk5jrwfqkcx8mlg761s60ninqrsxpzasf7xfbzzq03y4x9izz")) (patches (search-patches "postgresql-disable-resolve_symlinks.patch")))) (build-system gnu-build-system) (arguments @@ -1265,27 +1265,27 @@ pictures, sounds, or video.") (define-public postgresql-13 (package (inherit postgresql-14) - (version "13.9") + (version "13.11") (source (origin (inherit (package-source postgresql-14)) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "05d46dzkya6s0qbaxvksc5j12syb514q5lha6z9vx7z4lp06c6gg")))))) + "1yqbwnzgdgaim476smwkdj2jd6j92x9xqm2f1mknnmh3f9jgz4j9")))))) (define-public postgresql-11 (package (inherit postgresql-13) (name "postgresql") - (version "11.18") + (version "11.20") (source (origin (inherit (package-source postgresql-13)) (uri (string-append "https://ftp.postgresql.org/pub/source/v" version "/postgresql-" version ".tar.bz2")) (sha256 (base32 - "013m1x53qfxcry7l033ahhxjc3lflb7fj8fapk7qm49fqppj0kyj")))) + "1kmcnnc2nwjxv042b8bxbdxdgfksxvgmfhh4999rhzjays18hz1x")))) (native-inputs (modify-inputs (package-native-inputs postgresql-13) (replace "docbook-xml" docbook-xml-4.2))))) @@ -2420,14 +2420,14 @@ similar to BerkeleyDB, LevelDB, etc.") (define-public redis (package (name "redis") - (version "7.0.9") + (version "7.0.12") (source (origin (method url-fetch) - (uri (string-append "http://download.redis.io/releases/redis-" + (uri (string-append "https://download.redis.io/releases/redis-" version".tar.gz")) (sha256 (base32 - "0rczzcy2mwy6hjdgg10l9lr4vavh8jrs7zlb0ba534bwlk13awgp")) + "1dwayif99cipf0xs26zipbnj800px31pbsxz747bzclb4xdkvn4x")) (modules '((guix build utils))) (snippet ;; Delete bundled jemalloc, as the package will use the libc one @@ -2435,7 +2435,7 @@ similar to BerkeleyDB, LevelDB, etc.") (build-system gnu-build-system) (arguments (list - #:make-flags #~(list #$(string-append "CC=" (cc-for-target)) + #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) "MALLOC=libc" "LDFLAGS=-ldl" (string-append "PREFIX=" #$output)) @@ -2452,7 +2452,7 @@ similar to BerkeleyDB, LevelDB, etc.") (which "env"))))) (add-after 'unpack 'adjust-tests (lambda _ - ;; Disable failing tests + ;; Disable failing tests. (substitute* "tests/test_helper.tcl" ;; The AOF tests cause the test suite to hang waiting for a ;; "background AOF rewrite to finish", perhaps because dead @@ -2777,25 +2777,26 @@ database.") (define-public perl-db-file (package (name "perl-db-file") - (version "1.856") + (version "1.858") (source (origin (method url-fetch) (uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/DB_File-" version ".tar.gz")) (sha256 - (base32 "1ab6rm2b8lz0g3gc8k9y79gkgajyby0zpybkdg9mk4g35y9bmyfd")))) + (base32 "1xm7s2ag15498kp7g8r20gxk22ncz3b3hz4b3srqf7ypif3a5dyf")))) (build-system perl-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'modify-config.in + (lambda _ + (substitute* "config.in" + (("/usr/local/BerkeleyDB") + #$(this-package-input "bdb")))))))) (inputs (list bdb)) (native-inputs (list perl-test-pod)) - (arguments - `(#:phases (modify-phases %standard-phases - (add-before - 'configure 'modify-config.in - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "config.in" - (("/usr/local/BerkeleyDB") (assoc-ref inputs "bdb"))) - #t))))) (home-page "https://metacpan.org/release/DB_File") (synopsis "Perl5 access to Berkeley DB version 1.x") (description @@ -3321,83 +3322,85 @@ Memory-Mapped Database} (LMDB), a high-performance key-value store.") (define-public virtuoso-ose (package (name "virtuoso-ose") - (version "7.2.9") + (version "7.2.10") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/virtuoso/virtuoso/" version "/" "virtuoso-opensource-" version ".tar.gz")) (sha256 - (base32 "145s4lqixdxa3j0lp9lgzbb664zzy1imw04hmgia5y5679i8r0xy")) + (base32 "03vznas39valis02zk0hnli7x5asiam4rxzqhr58agzkdyb0lay0")) (patches (search-patches "virtuoso-ose-remove-pre-built-jar-files.patch")) (modules '((guix build utils))) ;; This snippet removes pre-built Java archives. (snippet - '(for-each delete-file-recursively - (list "binsrc/hibernate" - "binsrc/jena" - "binsrc/jena2" - "binsrc/jena3" - "binsrc/jena4" - "binsrc/rdf4j" - "binsrc/sesame" - "binsrc/sesame2" - "binsrc/sesame3" - "binsrc/sesame4" - "libsrc/JDBCDriverType4"))))) + #~(for-each delete-file-recursively + (list "binsrc/hibernate" + "binsrc/jena" + "binsrc/jena2" + "binsrc/jena3" + "binsrc/jena4" + "binsrc/rdf4j" + "binsrc/sesame" + "binsrc/sesame2" + "binsrc/sesame3" + "binsrc/sesame4" + "libsrc/JDBCDriverType4"))))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; Tests require a network connection. - ;; TODO: Removing the libsrc/zlib source directory breaks the build. - ;; This indicates that the internal zlib code may still be used. - #:configure-flags '("--without-internal-zlib" - "--with-readline" - "--enable-static=no") - #:phases - (modify-phases %standard-phases - (replace 'bootstrap - (lambda _ - (invoke "sh" "autogen.sh"))) - (add-after 'unpack 'avoid-embedding-kernel-and-timestamps - ;; For a reproducible build, avoid embedding the kernel version and - ;; timestamps. - (lambda _ - (substitute* - (list "bin/makever" - "appsrc/ODS-Polls/make_vad.sh" - "appsrc/ODS-Blog/make_vad.sh" - "appsrc/ODS-Community/make_vad.sh" - "appsrc/ODS-Framework/make_vad.sh" - "appsrc/ODS-Framework/oauth/make_vad.sh" - "appsrc/ODS-WebMail/make_vad.sh" - "appsrc/ODS-Calendar/make_vad.sh" - "appsrc/ODS-Gallery/make_vad.sh" - "appsrc/ODS-Briefcase/make_vad.sh" - "appsrc/ODS-FeedManager/make_vad.sh" - "appsrc/ODS-Bookmark/make_vad.sh" - "appsrc/ODS-Addressbook/make_vad.sh" - "binsrc/dbpedia/make_vad.sh" - "binsrc/samples/demo/make_vad.sh" - "binsrc/samples/demo/mkdoc.sh" - "binsrc/samples/sparql_demo/make_vad.sh" - "binsrc/bpel/make_vad.sh" - "binsrc/fct/make_vad.sh" - "binsrc/rdf_mappers/make_vad.sh" - "binsrc/isparql/make_vad.sh" - "binsrc/conductor/mkvad.sh") - (("^UNAME_SYSTEM=.*") "UNAME_SYSTEM=unknown\n") - (("^UNAME_RELEASE=.*") "UNAME_RELEASE=unknown\n") - (("^PACKDATE=.*") "PACKDATE=2012-04-18\n") - (("^DATE=.*") "DATE=2012-04-18\n")))) - ;; Even with "--enable-static=no", "libvirtuoso-t.a" is left in - ;; the build output. The following phase removes it. - (add-after 'install 'remove-static-libs - (lambda* (#:key outputs #:allow-other-keys) - (let ((lib (string-append (assoc-ref outputs "out") "/lib"))) - (for-each (lambda (file) - (delete-file (string-append lib "/" file))) - '("libvirtuoso-t.a" - "libvirtuoso-t.la")))))))) + (list + #:tests? #f ; tests require a network connection + ;; TODO: Removing the libsrc/zlib source directory breaks the build. + ;; This indicates that the internal zlib code may still be used. + #:configure-flags + #~(list "--without-internal-zlib" + "--with-readline" + "--enable-static=no") + #:phases + #~(modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (invoke "sh" "autogen.sh"))) + (add-after 'unpack 'avoid-embedding-kernel-and-timestamps + ;; For a reproducible build, avoid embedding the kernel version and + ;; timestamps. + (lambda _ + (substitute* + (list "bin/makever" + "appsrc/ODS-Polls/make_vad.sh" + "appsrc/ODS-Blog/make_vad.sh" + "appsrc/ODS-Community/make_vad.sh" + "appsrc/ODS-Framework/make_vad.sh" + "appsrc/ODS-Framework/oauth/make_vad.sh" + "appsrc/ODS-WebMail/make_vad.sh" + "appsrc/ODS-Calendar/make_vad.sh" + "appsrc/ODS-Gallery/make_vad.sh" + "appsrc/ODS-Briefcase/make_vad.sh" + "appsrc/ODS-FeedManager/make_vad.sh" + "appsrc/ODS-Bookmark/make_vad.sh" + "appsrc/ODS-Addressbook/make_vad.sh" + "binsrc/dbpedia/make_vad.sh" + "binsrc/samples/demo/make_vad.sh" + "binsrc/samples/demo/mkdoc.sh" + "binsrc/samples/sparql_demo/make_vad.sh" + "binsrc/bpel/make_vad.sh" + "binsrc/fct/make_vad.sh" + "binsrc/rdf_mappers/make_vad.sh" + "binsrc/isparql/make_vad.sh" + "binsrc/conductor/mkvad.sh") + (("^UNAME_SYSTEM=.*") "UNAME_SYSTEM=unknown\n") + (("^UNAME_RELEASE=.*") "UNAME_RELEASE=unknown\n") + (("^PACKDATE=.*") "PACKDATE=2012-04-18\n") + (("^DATE=.*") "DATE=2012-04-18\n")))) + ;; Even with "--enable-static=no", "libvirtuoso-t.a" is left in + ;; the build output. The following phase removes it. + (add-after 'install 'remove-static-libs + (lambda _ + (for-each + (lambda (file) + (delete-file (string-append #$output "/lib/" file))) + '("libvirtuoso-t.a" + "libvirtuoso-t.la"))))))) (native-inputs (list autoconf automake bison flex gperf libtool)) (inputs @@ -3800,13 +3803,13 @@ libraries with SQLALchemy.") (define-public python-psycopg2 (package (name "python-psycopg2") - (version "2.9.5") + (version "2.9.6") (source (origin (method url-fetch) (uri (pypi-uri "psycopg2" version)) (sha256 - (base32 "0ni4kq6p7hbkm2qsky998q36q5gq5if4nwd8hwhjx5rsd0p6s955")))) + (base32 "04chl9f7v7k1zssa40pmk06jvpyqiss2lpjq50dq69nqix0mhlgi")))) (build-system python-build-system) (arguments ;; Tests would require a postgresql database "psycopg2_test" |