unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59573] [PATCH] gnu: Update bitcoin-core to 24.0
@ 2022-11-25 14:43 Michael Ford
  2022-11-25 15:26 ` Michael Ford
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Ford @ 2022-11-25 14:43 UTC (permalink / raw)
  To: 59573


[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 26 bytes --]

[-- Attachment #2: 0001-gnu-bitcoin-core-Update-to-24.0.patch --]
[-- Type: application/octet-stream, Size: 2905 bytes --]

From 0dbfb3ffd90c5a10233283da91c428b709aa643f Mon Sep 17 00:00:00 2001
From: fanquake <fanquake@gmail.com>
Date: Fri, 25 Nov 2022 14:18:56 +0000
Subject: [PATCH] gnu: bitcoin-core: Update to 24.0

Retain 23.0 as it's still supported.
Update homepage to bitcoincore.org.
---
 gnu/packages/finance.scm | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index feb533eca7..29589c09b8 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
 ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2022 Michael Ford <fanquake@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -129,10 +130,10 @@ (define-module (gnu packages finance)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages gnuzilla))
 
-(define-public bitcoin-core-23.0
+(define-public bitcoin-core-24.0
   (package
     (name "bitcoin-core")
-    (version "23.0")
+    (version "24.0")
     (source (origin
               (method url-fetch)
               (uri
@@ -140,7 +141,7 @@ (define-public bitcoin-core-23.0
                               version "/bitcoin-" version ".tar.gz"))
               (sha256
                (base32
-                "01fcb90pqip3v77kljykx51cmg7jdg2cmp7ys0a40svdkps8nx16"))))
+                "1x6riward8z8rx6wvypsz3rnfl7hy2986llbbgl96l6b9aglmylw"))))
     (build-system gnu-build-system)
     (native-inputs
      (list autoconf
@@ -196,7 +197,7 @@ (define-public bitcoin-core-23.0
               "python3" "./test/functional/test_runner.py"
               (string-append "--jobs=" (number->string (parallel-job-count))))
              #t)))))
-    (home-page "https://bitcoin.org/")
+    (home-page "https://bitcoincore.org/")
     (synopsis "Bitcoin peer-to-peer client")
     (description
      "Bitcoin is a digital currency that enables instant payments to anyone
@@ -207,10 +208,23 @@ (define-public bitcoin-core-23.0
 line client and a client based on Qt.")
     (license license:expat)))
 
+(define-public bitcoin-core-23.0
+  (package
+    (inherit bitcoin-core-24)
+    (version "23.0")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://bitcoincore.org/bin/bitcoin-core-"
+                              version "/bitcoin-" version ".tar.gz"))
+              (sha256
+               (base32
+                "01fcb90pqip3v77kljykx51cmg7jdg2cmp7ys0a40svdkps8nx16"))))))
+
 ;; The support lifetimes for bitcoin-core versions can be found in
 ;; <https://bitcoincore.org/en/lifecycle/#schedule>.
 
-(define-public bitcoin-core bitcoin-core-23.0)
+(define-public bitcoin-core bitcoin-core-24.0)
 
 (define-public hledger
   (package
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#59573] [PATCH] gnu: Update bitcoin-core to 24.0
  2022-11-25 14:43 [bug#59573] [PATCH] gnu: Update bitcoin-core to 24.0 Michael Ford
@ 2022-11-25 15:26 ` Michael Ford
  2023-09-02  4:33   ` bug#59573: " Vagrant Cascadian
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Ford @ 2022-11-25 15:26 UTC (permalink / raw)
  To: 59573

[-- Attachment #1: Type: text/plain, Size: 2831 bytes --]

Resending this inline, as the attached .patch is not usable.

Retain 23.0 as it's still supported.
Update homepage to bitcoincore.org.
---
 gnu/packages/finance.scm | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index feb533eca7..29589c09b8 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
 ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2022 Michael Ford <fanquake@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -129,10 +130,10 @@ (define-module (gnu packages finance)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages gnuzilla))

-(define-public bitcoin-core-23.0
+(define-public bitcoin-core-24.0
   (package
     (name "bitcoin-core")
-    (version "23.0")
+    (version "24.0")
     (source (origin
               (method url-fetch)
               (uri
@@ -140,7 +141,7 @@ (define-public bitcoin-core-23.0
                               version "/bitcoin-" version ".tar.gz"))
               (sha256
                (base32
-                "01fcb90pqip3v77kljykx51cmg7jdg2cmp7ys0a40svdkps8nx16"))))
+                "1x6riward8z8rx6wvypsz3rnfl7hy2986llbbgl96l6b9aglmylw"))))
     (build-system gnu-build-system)
     (native-inputs
      (list autoconf
@@ -196,7 +197,7 @@ (define-public bitcoin-core-23.0
               "python3" "./test/functional/test_runner.py"
               (string-append "--jobs=" (number->string
(parallel-job-count))))
              #t)))))
-    (home-page "https://bitcoin.org/")
+    (home-page "https://bitcoincore.org/")
     (synopsis "Bitcoin peer-to-peer client")
     (description
      "Bitcoin is a digital currency that enables instant payments to anyone
@@ -207,10 +208,23 @@ (define-public bitcoin-core-23.0
 line client and a client based on Qt.")
     (license license:expat)))

+(define-public bitcoin-core-23.0
+  (package
+    (inherit bitcoin-core-24)
+    (version "23.0")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://bitcoincore.org/bin/bitcoin-core-"
+                              version "/bitcoin-" version ".tar.gz"))
+              (sha256
+               (base32
+
 "01fcb90pqip3v77kljykx51cmg7jdg2cmp7ys0a40svdkps8nx16"))))))
+
 ;; The support lifetimes for bitcoin-core versions can be found in
 ;; <https://bitcoincore.org/en/lifecycle/#schedule>.

-(define-public bitcoin-core bitcoin-core-23.0)
+(define-public bitcoin-core bitcoin-core-24.0)

 (define-public hledger
   (package
-- 
2.38.1

[-- Attachment #2: Type: text/html, Size: 3885 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#59573: [PATCH] gnu: Update bitcoin-core to 24.0
  2022-11-25 15:26 ` Michael Ford
@ 2023-09-02  4:33   ` Vagrant Cascadian
  0 siblings, 0 replies; 3+ messages in thread
From: Vagrant Cascadian @ 2023-09-02  4:33 UTC (permalink / raw)
  To: Michael Ford, 59573-done

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

On 2022-11-25, Michael Ford wrote:
> -(define-public bitcoin-core-23.0
> +(define-public bitcoin-core-24.0
>    (package
>      (name "bitcoin-core")
> -    (version "23.0")
> +    (version "24.0")

bitcoin-core has since been updated to newer versions:

0aab24855238cc7c7a31066ab39cd94e534b857f gnu: bitcoin-core: Update to 24.1.
b58fab5982eb45aae2a51c86093e6bbd472d8c9e gnu: bitcoin-core: Update to 25.0.

Marking as done.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-02  4:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25 14:43 [bug#59573] [PATCH] gnu: Update bitcoin-core to 24.0 Michael Ford
2022-11-25 15:26 ` Michael Ford
2023-09-02  4:33   ` bug#59573: " Vagrant Cascadian

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).