guix-commits
[Top][All Lists]
Advanced

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

179/272: gnu: Add rust-base64-0.6.


From: guix-commits
Subject: 179/272: gnu: Add rust-base64-0.6.
Date: Sat, 13 Feb 2021 05:54:52 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 379538d7375ebf08a556003c33a28e12bbee0e69
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 17:36:23 2021 +0100

    gnu: Add rust-base64-0.6.
    
    * gnu/packages/crates-io.scm (rust-base64-0.6): New variable.
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49c8539..efdc7fc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3633,6 +3633,24 @@ c6e7d37.  However, this package works only up to 128 
bytes.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.4))))))
 
+(define-public rust-base64-0.6
+  (package
+    (inherit rust-base64-0.13)
+    (name "rust-base64")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "base64" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ja3c7wlzp3sb14f2ksp27x1mk8ycgh1391nnd7fvw01fnc4yhwn"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-safemem" ,rust-safemem-0.2))))))
+
 (define-public rust-base-x-0.2
   (package
     (name "rust-base-x")



reply via email to

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