aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-09-12 21:58:57 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-11-09 21:33:40 +0000
commit8bea1e05fac2e24ac926f155d76e42aa90690467 (patch)
tree0f9ad155931e331afed5d083d4bb19777a9aba16
parenta8d5d087086da0e47700781ff858d3d0d2090271 (diff)
downloadguix-8bea1e05fac2e24ac926f155d76e42aa90690467.tar.gz
guix-8bea1e05fac2e24ac926f155d76e42aa90690467.zip
gnu: packages/golang-crypto: Apply #:subdir parameter.
* gnu/packages/golang-crypto.scm (go-github-com-decred-dcrd-crypto-blake256, go-github-com-decred-dcrd-dcrec-secp256k1-v4) [source]: Apply new <#:subdir> parameter for monorepo projects. Change-Id: I85004b257c767ce202129e621d78b285d4578f7a
-rw-r--r--gnu/packages/golang-crypto.scm16
1 files changed, 2 insertions, 14 deletions
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 2ba3a530ad..016592e776 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -560,13 +560,7 @@ one-time authenticator as specified in
(method git-fetch)
(uri (git-reference
(url "https://github.com/decred/dcrd")
- (commit (go-version->git-ref
- ;; XXX: While waiting on consensus:
- ;; - https://issues.guix.gnu.org/52362
- ;; - https://issues.guix.gnu.org/63001
- ;; - https://issues.guix.gnu.org/63647
- ;; - https://issues.guix.gnu.org/69827
- (string-append "crypto/blake256/v" version)))))
+ (commit (go-version->git-ref version #:subdir "crypto/blake256"))))
(file-name (git-file-name name version))
(sha256
(base32 "1mjzlyz2a3516g46kv421nacjd7p4g9l8ih4i7xijvsi480s5pja"))
@@ -604,13 +598,7 @@ and AVX acceleration and zero allocations.")
(method git-fetch)
(uri (git-reference
(url "https://github.com/decred/dcrd")
- (commit (go-version->git-ref
- ;; XXX: While waiting on consensus:
- ;; - https://issues.guix.gnu.org/52362
- ;; - https://issues.guix.gnu.org/63001
- ;; - https://issues.guix.gnu.org/63647
- ;; - https://issues.guix.gnu.org/69827
- (string-append "dcrec/secp256k1/v" version)))))
+ (commit (go-version->git-ref version #:subdir "dcrec/secp256k1"))))
(file-name (git-file-name name version))
(sha256
(base32 "19yqrrspm6n1x7wa1chqj0j95bc5w02ygddr06ajzf6x7i7q09q5"))