Subject: [PATCH] gnu: postgresql-10: Replace deprecated dependency.

From: David Pflug <[email-masked]>
Date: Sun, 10 Nov 2024 12:54:13 -0500

* gnu/packages/databases.scm (postgresql-10): Inherit postgresql-13
instead of 11.

Using the deprecated postgresql-11 package was causing warnings to be
printed on `guix pull`.

Change-Id: I36225ff2a1889f94cd5aabe229ee638793594abf
---
 gnu/packages/databases.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 06158f19e7..d1553d91b4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1394,17 +1394,17 @@ (define-deprecated/public postgresql-11 #f
 
 (define-deprecated/public postgresql-10 #f
   (package
-    (inherit postgresql-11)
+    (inherit postgresql-13)
     (version "10.23")
     (source (origin
-              (inherit (package-source postgresql-11))
+              (inherit (package-source postgresql-13))
               (uri (string-append "https://ftp.postgresql.org/pub/source/v"
                                   version "/postgresql-" version ".tar.bz2"))
               (sha256
                (base32
                 "1sgfssjc9lnzijhn108r6z26fri655k413f1c9b8wibjhd9b594l"))))
     (native-inputs
-     (modify-inputs (package-native-inputs postgresql-11)
+     (modify-inputs (package-native-inputs postgresql-13)
        (append opensp docbook-sgml-4.2)
        (delete "docbook-xml")))))

base-commit: f5ca62fcadf7a1a61cb13dc89edcfd3e9884e9e0
-- 
2.46.0