mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
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.
This commit is contained in:
parent
4b4c93d639
commit
a73302ec91
1 changed files with 21 additions and 22 deletions
|
@ -1173,17 +1173,17 @@ (define-public mariadb-connector-c
|
|||
(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 @@ (define-public postgresql
|
|||
pictures, sounds, or video.")
|
||||
(license (license:x11-style "file://COPYRIGHT"))))
|
||||
|
||||
(define-public postgresql-10 postgresql)
|
||||
|
||||
(define-public postgresql-13
|
||||
(package
|
||||
(inherit postgresql)
|
||||
(version "13.1")
|
||||
(source (origin
|
||||
(inherit (package-source postgresql))
|
||||
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
||||
version "/postgresql-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"07z6zwr58dckaa97yl9ml240z83d1lhgaxw9aq49i8lsp21mqd0j"))))))
|
||||
|
||||
(define-public postgresql-11
|
||||
(package
|
||||
(inherit postgresql)
|
||||
(inherit postgresql-13)
|
||||
(name "postgresql")
|
||||
(version "11.6")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(inherit (package-source postgresql-13))
|
||||
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
||||
version "/postgresql-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"0w1iq488kpzfgfnlw4k32lz5by695mpnkq461jrgsr99z5zlz4j9"))))))
|
||||
|
||||
(define-public postgresql-10
|
||||
(package
|
||||
(inherit postgresql-11)
|
||||
(version "10.13")
|
||||
(source (origin
|
||||
(inherit (package-source postgresql-11))
|
||||
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
||||
version "/postgresql-" version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"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")
|
||||
|
|
Loading…
Reference in a new issue