gnu: bitcoin-core: Add 0.21.0.

* gnu/packages/finance.scm (bitcoin-core): Rename to …
(bitcoin-core-0.21): … this, and update to 0.21.
(bitcoin-core-0.20): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
ZmnSCPxj 2021-03-17 11:48:52 +00:00 committed by Christopher Baines
parent aa13529baf
commit d3c8aa3f82
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -22,6 +22,7 @@
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com> ;;; Copyright © 2020 Carlo Holl <carloholl@gmail.com>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ <ZmnSCPxj@protonmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -52,6 +53,7 @@ (define-module (gnu packages finance)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system qt) #:use-module (guix build-system qt)
#:use-module (guix deprecation)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages aidc) #:use-module (gnu packages aidc)
@ -108,10 +110,10 @@ (define-module (gnu packages finance)
#:use-module (gnu packages xml) #:use-module (gnu packages xml)
#:use-module (gnu packages gnuzilla)) #:use-module (gnu packages gnuzilla))
(define-public bitcoin-core (define-public bitcoin-core-0.21
(package (package
(name "bitcoin-core") (name "bitcoin-core")
(version "0.20.1") (version "0.21.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -119,7 +121,7 @@ (define-public bitcoin-core
version "/bitcoin-" version ".tar.gz")) version "/bitcoin-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0y5rad68b398arh0abr2wgiwybdw0i5a4dxz9s3fk9fgdbyn5gab")))) "0dszcn4r43w0ffsmgwmyzkzr5lqws3bbhlkssmjgnjgfc8n2148s"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
@ -186,6 +188,24 @@ (define-public bitcoin-core
line client and a client based on Qt.") line client and a client based on Qt.")
(license license:expat))) (license license:expat)))
(define-public bitcoin-core-0.20
(package
(inherit bitcoin-core-0.21)
(version "0.20.1")
(source (origin
(method url-fetch)
(uri
(string-append "https://bitcoincore.org/bin/bitcoin-core-"
version "/bitcoin-" version ".tar.gz"))
(sha256
(base32
"0y5rad68b398arh0abr2wgiwybdw0i5a4dxz9s3fk9fgdbyn5gab"))))))
;; The support lifetimes for bitcoin-core versions can be found in
;; <https://bitcoincore.org/en/lifecycle/#schedule>.
(define-public bitcoin-core bitcoin-core-0.21)
(define-public hledger (define-public hledger
(package (package
(name "hledger") (name "hledger")