summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:36:23 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:37 +0100
commit379538d7375ebf08a556003c33a28e12bbee0e69 (patch)
tree5eca64939fe2e33e86efd2dde52c183611bfc82e /gnu
parent687f040543080a2759e18d69bfebe2647c7c251f (diff)
downloadguix-379538d7375ebf08a556003c33a28e12bbee0e69.tar.gz
gnu: Add rust-base64-0.6.
* gnu/packages/crates-io.scm (rust-base64-0.6): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 49c8539086..efdc7fc6c7 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")