aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 16:41:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:45:57 +0300
commitc988c9bb8588fecba465f4d689b44082e493e662 (patch)
tree2904241cdf21061170e693a8209ed68a3341540c /gnu
parent90c48ddd76a8c2926d271d68199bb96537a483de (diff)
downloadguix-c988c9bb8588fecba465f4d689b44082e493e662.tar
guix-c988c9bb8588fecba465f4d689b44082e493e662.tar.gz
gnu: Add rust-base-x.
* gnu/packages/crates-io.scm (rust-base-x): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 753b144c46..1c607161c9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -121,6 +121,29 @@ support.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-base-x
+ (package
+ (name "rust-base-x")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "base-x" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hv4y5cdhv6bk0ghk2434clw8v4mmk5cc9lsh6qrpri92zlfmx3n"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-bencher" ,rust-bencher)
+ ("rust-json" ,rust-json)
+ ("rust-rand" ,rust-rand-0.3))))
+ (home-page "https://github.com/OrKoN/base-x-rs")
+ (synopsis "Encode/decode any base")
+ (description "This library provides for encoding and decoding any base.")
+ (license license:expat)))
+
(define-public rust-bencher
(package
(name "rust-bencher")