This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 59444398a4d gnu: packages/golang-crypto: Sort variable.
59444398a4d is described below
commit 59444398a4d1b2807376ca8205944e0e7241d508
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Sep 22 09:45:04 2026 +0100
gnu: packages/golang-crypto: Sort variable.
* gnu/packages/golang-crypto.scm
(go-github-com-btcsuite-btcd-chaincfg-chainhash):
Sort variable alphabetically.
---
gnu/packages/golang-crypto.scm | 68 +++++++++++++++++++++---------------------
1 file changed, 34 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index e2d96dad6c8..0452ae9f873 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -650,20 +650,19 @@ been designed so it can be used as a standalone package
for any projects
needing to use secp256k1 elliptic curve cryptography.")
(license license:isc))))
-(define-public go-github-com-btcsuite-btcd-chaincfg-chainhash
+(define-public go-github-com-btcsuite-btcd-btcec-v2
(package
- (name "go-github-com-btcsuite-btcd-chaincfg-chainhash")
- (version "1.2.0")
+ (name "go-github-com-btcsuite-btcd-btcec-v2")
+ (version "2.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/btcsuite/btcd")
- (commit (go-version->git-ref version
- #:subdir "chaincfg/chainhash"))))
+ (url "https://github.com/btcsuite/btcd")
+ (commit (go-version->git-ref version #:subdir "btcec"))))
(file-name (git-file-name name version))
(sha256
- (base32 "007gkn1xwpicdj77kk42ij9sd7r21bcvgiri3yw6xnkdlnsg3bkq"))
+ (base32 "04apnqisk42zzi6s2hnv53cqwxv7s7wqsvffd5l00bf1raql1dq2"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
@@ -675,31 +674,43 @@ needing to use secp256k1 elliptic curve cryptography.")
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
- (delete-all-but "chaincfg" "chainhash")
- (delete-all-but "." "chaincfg")))))
+ (delete-all-but "." "btcec" "chainhash")
+ ;; This is a workaround to provide a correct import-path.
+ (rename-file "btcec" "tmp")
+ (mkdir-p "btcec/v2")
+ (copy-recursively "tmp" "btcec/v2")
+ (delete-file-recursively "tmp")))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/btcsuite/btcd/chaincfg/chainhash"
+ #:import-path "github.com/btcsuite/btcd/btcec/v2"
#:unpack-path "github.com/btcsuite/btcd"))
+ (native-inputs
+ (list go-github-com-davecgh-go-spew go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-btcsuite-btcd-chaincfg-chainhash
+ go-github-com-btcsuite-btcd-chainhash-v2
+ go-github-com-decred-dcrd-dcrec-secp256k1-v4))
(home-page "https://github.com/btcsuite/btcd")
- (synopsis "Bitcoin hash functionality in Go")
- (description "This package provides Bitcoin hash functionality.")
+ (synopsis "Elliptic curves for Bitcoin")
+ (description
+ "This package implements elliptic curves needed for Bitcoin.")
(license license:isc)))
-(define-public go-github-com-btcsuite-btcd-btcec-v2
+(define-public go-github-com-btcsuite-btcd-chaincfg-chainhash
(package
- (name "go-github-com-btcsuite-btcd-btcec-v2")
- (version "2.5.0")
+ (name "go-github-com-btcsuite-btcd-chaincfg-chainhash")
+ (version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/btcsuite/btcd")
- (commit (go-version->git-ref version #:subdir "btcec"))))
+ (url "https://github.com/btcsuite/btcd")
+ (commit (go-version->git-ref version
+ #:subdir "chaincfg/chainhash"))))
(file-name (git-file-name name version))
(sha256
- (base32 "04apnqisk42zzi6s2hnv53cqwxv7s7wqsvffd5l00bf1raql1dq2"))
+ (base32 "007gkn1xwpicdj77kk42ij9sd7r21bcvgiri3yw6xnkdlnsg3bkq"))
(modules '((guix build utils)
(ice-9 ftw)
(srfi srfi-26)))
@@ -711,27 +722,16 @@ needing to use secp256k1 elliptic curve cryptography.")
(cons* "." ".." preserve))))
(items (scandir "." pred)))
(for-each (cut delete-file-recursively <>) items))))
- (delete-all-but "." "btcec" "chainhash")
- ;; This is a workaround to provide a correct import-path.
- (rename-file "btcec" "tmp")
- (mkdir-p "btcec/v2")
- (copy-recursively "tmp" "btcec/v2")
- (delete-file-recursively "tmp")))))
+ (delete-all-but "chaincfg" "chainhash")
+ (delete-all-but "." "chaincfg")))))
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/btcsuite/btcd/btcec/v2"
+ #:import-path "github.com/btcsuite/btcd/chaincfg/chainhash"
#:unpack-path "github.com/btcsuite/btcd"))
- (native-inputs
- (list go-github-com-davecgh-go-spew go-github-com-stretchr-testify))
- (propagated-inputs
- (list go-github-com-btcsuite-btcd-chaincfg-chainhash
- go-github-com-btcsuite-btcd-chainhash-v2
- go-github-com-decred-dcrd-dcrec-secp256k1-v4))
(home-page "https://github.com/btcsuite/btcd")
- (synopsis "Elliptic curves for Bitcoin")
- (description
- "This package implements elliptic curves needed for Bitcoin.")
+ (synopsis "Bitcoin hash functionality in Go")
+ (description "This package provides Bitcoin hash functionality.")
(license license:isc)))
(define-public go-github-com-btcsuite-btcd-chainhash-v2