guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/41: gnu: Add rust-base-x.


From: guix-commits
Subject: 05/41: gnu: Add rust-base-x.
Date: Fri, 6 Sep 2019 08:47:25 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c988c9bb8588fecba465f4d689b44082e493e662
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 16:41:58 2019 +0300

    gnu: Add rust-base-x.
    
    * gnu/packages/crates-io.scm (rust-base-x): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 753b144..1c60716 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]