From d3c8aa3f8214434c8ba819984ed4513796a09e38 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj Date: Wed, 17 Mar 2021 11:48:52 +0000 Subject: gnu: bitcoin-core: Add 0.21.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gnu/packages/finance.scm | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 6674452ab5..3ccc077b94 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Carlo Holl ;;; Copyright © 2020 Giacomo Leidi +;;; Copyright © 2021 ZmnSCPxj jxPCSnmZ ;;; ;;; This file is part of GNU Guix. ;;; @@ -52,6 +53,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system go) #:use-module (guix build-system qt) + #:use-module (guix deprecation) #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages aidc) @@ -108,10 +110,10 @@ #:use-module (gnu packages xml) #:use-module (gnu packages gnuzilla)) -(define-public bitcoin-core +(define-public bitcoin-core-0.21 (package (name "bitcoin-core") - (version "0.20.1") + (version "0.21.0") (source (origin (method url-fetch) (uri @@ -119,7 +121,7 @@ version "/bitcoin-" version ".tar.gz")) (sha256 (base32 - "0y5rad68b398arh0abr2wgiwybdw0i5a4dxz9s3fk9fgdbyn5gab")))) + "0dszcn4r43w0ffsmgwmyzkzr5lqws3bbhlkssmjgnjgfc8n2148s")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -186,6 +188,24 @@ of the bitcoin protocol. This package provides the Bitcoin Core command line client and a client based on Qt.") (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 +;; . + +(define-public bitcoin-core bitcoin-core-0.21) + (define-public hledger (package (name "hledger") -- cgit v1.2.3