1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-16 03:50:45 +02:00

gnu: Add rust-bs58-0.4.

* gnu/packages/crates-io.scm (rust-bs58-0.4): New variable.

Change-Id: I0f7ffd008ef02cb512e62ec3b39e882290bf3d8b
This commit is contained in:
Efraim Flashner 2025-01-03 12:06:11 +02:00
parent a33702b6d2
commit 3b3b09e140
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9045,6 +9045,26 @@ almost the same speed for encoding: about 3% slower when encoding 32 bytes.
@code{rust-bs58} is not limited to 128 bytes and supports a configurable alphabet.")
(license (list license:asl2.0 license:expat))))
(define-public rust-bs58-0.4
(package
(inherit rust-bs58-0.5)
(name "rust-bs58")
(version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "bs58" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1lr3vwzhhyica4y7rbkf26vr1h7vpjb1m6rml8zcqgw81c2y07vp"))))
(arguments
`(#:cargo-inputs (("rust-sha2" ,rust-sha2-0.9))
#:cargo-development-inputs
(("rust-assert-matches" ,rust-assert-matches-1)
("rust-base58" ,rust-base58-0.1)
("rust-criterion" ,rust-criterion-0.3)
("rust-rust-base58" ,rust-rust-base58-0.0.4))))))
(define-public rust-bs58-0.2
(package
(inherit rust-bs58-0.5)