[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/45: gnu: Add rust-bs58-0.2.
From: |
guix-commits |
Subject: |
03/45: gnu: Add rust-bs58-0.2. |
Date: |
Sun, 22 Nov 2020 12:49:35 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 4bf4fb821f31b6cc65fda963bf7030b076160ad8
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Wed Jun 17 15:29:05 2020 -0700
gnu: Add rust-bs58-0.2.
* gnu/packages/crates-io.scm (rust-bs58-0.2): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 90fd697..54a2f67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2669,6 +2669,37 @@ dependency on the rust stdlib. This makes it suitable
for embedded devices
and kernels.")
(license (list license:bsd-3 license:expat))))
+(define-public rust-bs58-0.2
+ (package
+ (name "rust-bs58")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bs58" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "125i962x0m0ggdif6ds51wfif2lypiicy469dj5j2l6rm6xycpn9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-sha2" ,rust-sha2-0.8))
+ #:cargo-development-inputs
+ (("rust-assert-matches" ,rust-assert-matches-1.3)
+ ("rust-base58" ,rust-base58-0.1)
+ ("rust-rust-base58" ,rust-rust-base58-0.0))))
+ (home-page "https://github.com/mycorrhiza/bs58-rs")
+ (synopsis "Another Base58 codec implementation")
+ (description
+ "Another Base58 codec implementation. Compared to the base58 crate this
+is significantly faster at decoding (about 2.4x as fast when decoding 32
+bytes), almost the same speed for encoding (about 3% slower when encoding 32
+bytes), doesn't have the 128 byte limitation and supports a configurable
+alphabet.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-bstr-0.2
(package
(name "rust-bstr")
- branch master updated (2a17365 -> 1ca0c34), guix-commits, 2020/11/22
- 02/45: gnu: Add rust-base58-0.1., guix-commits, 2020/11/22
- 03/45: gnu: Add rust-bs58-0.2.,
guix-commits <=
- 05/45: gnu: Add rust-getch-0.2., guix-commits, 2020/11/22
- 07/45: gnu: Add rust-sanakirja-0.10., guix-commits, 2020/11/22
- 06/45: gnu: Add rust-diffs-0.3., guix-commits, 2020/11/22
- 01/45: gnu: Add rust-rust-base58-0.0., guix-commits, 2020/11/22
- 04/45: gnu: Add rust-cryptovec-0.4., guix-commits, 2020/11/22
- 08/45: gnu: Add rust-buffered-reader-0.9., guix-commits, 2020/11/22
- 10/45: gnu: Add rust-nettle-5., guix-commits, 2020/11/22
- 09/45: gnu: rust-nettle-sys-2: Do not skip build., guix-commits, 2020/11/22
- 15/45: gnu: Add rust-line-0.1., guix-commits, 2020/11/22
- 17/45: gnu: Add rust-progrs-0.1., guix-commits, 2020/11/22