[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/40: gnu: postgresql: Make version 13 the default.
From: |
guix-commits |
Subject: |
40/40: gnu: postgresql: Make version 13 the default. |
Date: |
Sun, 13 Dec 2020 15:46:24 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit a73302ec91855fa1913a2702daee25f8b9cf487b
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 13 21:13:03 2020 +0100
gnu: postgresql: Make version 13 the default.
While at it, rearrange so that variables are in order, and also inherit the
patches in lower versions, as the disable-resolve_symlinks patch was missing
in 11 and 9.
* gnu/packages/databases.scm (postgresql-13): Swap places with ...
(postgresql): ... this. Turn into dummy pointer variable and move it last.
(postgresql-11): Inherit from POSTGRESQL-13. Also inherit source.
(postgresql-10): Inherit from POSTGRESQL-11.
(postgresql-9.6): Inherit from POSTGRESQL-10. Also inherit source.
---
gnu/packages/databases.scm | 37 ++++++++++++++++++-------------------
1 file changed, 18 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index bf9f31a..8c0da1b 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1173,17 +1173,17 @@ developed in C/C++ to MariaDB and MySQL databases.")
(license license:lgpl2.1+)))
;; Don't forget to update the other postgresql packages when upgrading this
one.
-(define-public postgresql
+(define-public postgresql-13
(package
(name "postgresql")
- (version "10.13")
+ (version "13.1")
(source (origin
(method url-fetch)
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
- "1qal0yp7a90yzya7hl56gsmw5fvacplrdhpn7h9gnbyr1i2iyw2d"))
+ "07z6zwr58dckaa97yl9ml240z83d1lhgaxw9aq49i8lsp21mqd0j"))
(patches (search-patches
"postgresql-disable-resolve_symlinks.patch"))))
(build-system gnu-build-system)
(arguments
@@ -1219,46 +1219,45 @@ TIMESTAMP. It also supports storage of binary large
objects, including
pictures, sounds, or video.")
(license (license:x11-style "file://COPYRIGHT"))))
-(define-public postgresql-10 postgresql)
-
-(define-public postgresql-13
+(define-public postgresql-11
(package
- (inherit postgresql)
- (version "13.1")
+ (inherit postgresql-13)
+ (name "postgresql")
+ (version "11.6")
(source (origin
- (inherit (package-source postgresql))
+ (inherit (package-source postgresql-13))
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
- "07z6zwr58dckaa97yl9ml240z83d1lhgaxw9aq49i8lsp21mqd0j"))))))
+ "0w1iq488kpzfgfnlw4k32lz5by695mpnkq461jrgsr99z5zlz4j9"))))))
-(define-public postgresql-11
+(define-public postgresql-10
(package
- (inherit postgresql)
- (name "postgresql")
- (version "11.6")
+ (inherit postgresql-11)
+ (version "10.13")
(source (origin
- (method url-fetch)
+ (inherit (package-source postgresql-11))
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
- "0w1iq488kpzfgfnlw4k32lz5by695mpnkq461jrgsr99z5zlz4j9"))))))
+ "1qal0yp7a90yzya7hl56gsmw5fvacplrdhpn7h9gnbyr1i2iyw2d"))))))
(define-public postgresql-9.6
(package
- (inherit postgresql)
- (name "postgresql")
+ (inherit postgresql-10)
(version "9.6.16")
(source (origin
- (method url-fetch)
+ (inherit (package-source postgresql-10))
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
version "/postgresql-" version ".tar.bz2"))
(sha256
(base32
"1rr2dgv4ams8r2lp13w85c77rkmzpb88fjlc28mvlw6zq2fblv2w"))))))
+(define-public postgresql postgresql-13)
+
(define-public python-pymysql
(package
(name "python-pymysql")
- 18/40: gnu: python-certifi: Update to 2020.12.5., (continued)
- 18/40: gnu: python-certifi: Update to 2020.12.5., guix-commits, 2020/12/13
- 21/40: gnu: libinput: Update to 1.16.4., guix-commits, 2020/12/13
- 30/40: gnu: glslang: Update to 10-11.0.0., guix-commits, 2020/12/13
- 24/40: gnu: pulseaudio: Update to 14.0., guix-commits, 2020/12/13
- 22/40: gnu: libxkbcommon: Update to 1.0.3., guix-commits, 2020/12/13
- 34/40: gnu: shaderc: Update to 2020.4., guix-commits, 2020/12/13
- 35/40: gnu: python-pygments: Update to 2.7.3., guix-commits, 2020/12/13
- 33/40: gnu: vulkan-tools: Update to 1.2.162., guix-commits, 2020/12/13
- 37/40: gnu: xkbcomp: Update to 1.4.4., guix-commits, 2020/12/13
- 38/40: gnu: xprop: Update to 1.2.5., guix-commits, 2020/12/13
- 40/40: gnu: postgresql: Make version 13 the default.,
guix-commits <=
- 32/40: gnu: vulkan-loader: Update to 1.2.162., guix-commits, 2020/12/13
- 36/40: gnu: elfutils: Update to 0.182., guix-commits, 2020/12/13
- 39/40: gnu: mesa: Build with LLVM 11., guix-commits, 2020/12/13