[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/45: gnu: Add rust-rust-base58-0.0.
From: |
guix-commits |
Subject: |
01/45: gnu: Add rust-rust-base58-0.0. |
Date: |
Sun, 22 Nov 2020 12:49:35 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit c3cf0a19d78beab5f6c737015d8e50d659d3ca2e
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Wed Jun 17 15:27:39 2020 -0700
gnu: Add rust-rust-base58-0.0.
* gnu/packages/crates-io.scm (rust-rust-base58-0.0): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f485142..80901f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22217,6 +22217,41 @@ hashing function.")
password hashing function.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rust-base58-0.0
+ (package
+ (name "rust-rust-base58")
+ (version "0.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust-base58" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fa4y2jjjmg1a0cr3gz4z8rkic0hx2vx5nm23za9lwf6rlgvj4xk"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Otherwise we get an error: no method named `gen_iter` found
+ ;; for type `rand::prelude::ThreadRng`
+ (substitute* "Cargo.toml"
+ (("rand.*") "rand = \"<0.6\"\n"))
+ #t))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-num" ,rust-num-0.1))
+ #:cargo-development-inputs
+ (("rust-rand" ,rust-rand-0.4))))
+ (home-page "https://github.com/nham/rust-base58")
+ (synopsis
+ "Simple library for converting to and from base-58 strings")
+ (description
+ "Convert to and from base-58 strings with a simple Rust api.
+ Currently the conversion uses the Bitcoin base58 alphabet.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-rust-hawktracer-0.7
(package
(name "rust-rust-hawktracer")
- 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, 2020/11/22
- 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 <=
- 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
- 18/45: gnu: Add rust-rpassword-2., guix-commits, 2020/11/22
- 13/45: gnu: Add rust-sequoia-openpgp-0.9., guix-commits, 2020/11/22
- 14/45: gnu: Add rust-libpijul-0.12., guix-commits, 2020/11/22
- 11/45: gnu: Add rust-rpassword-3., guix-commits, 2020/11/22