diff options
author | John Soo <jsoo1@asu.edu> | 2020-06-17 15:27:39 -0700 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-11-22 19:44:33 +0200 |
commit | c3cf0a19d78beab5f6c737015d8e50d659d3ca2e (patch) | |
tree | 8d3b67cfc2e9a6d294bba6f52233dc91f4150afd /gnu/packages/crates-io.scm | |
parent | 2a1736564cc1eb667ff8ef23b4a787b46184f6d1 (diff) | |
download | guix-c3cf0a19d78beab5f6c737015d8e50d659d3ca2e.tar.gz guix-c3cf0a19d78beab5f6c737015d8e50d659d3ca2e.zip |
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>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f485142383..80901f30c3 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") |