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
This commit is contained in:
Sharlatan Hellseher 2024-09-12 21:58:57 +01:00
parent a8d5d08708
commit 8bea1e05fa
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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"))