guix-commits
[Top][All Lists]
Advanced

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

298/330: gnu: Add rust-textnonce-1.


From: guix-commits
Subject: 298/330: gnu: Add rust-textnonce-1.
Date: Mon, 18 Mar 2024 07:16:41 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 632b849b49d1f5b47b6f2f40f6d99f99ee4c9f09
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:35 2024 +0200

    gnu: Add rust-textnonce-1.
    
    * gnu/packages/crates-io.scm (rust-textnonce-1): New variable.
    
    Change-Id: I4b691e1c3d7e06b8d679c293683bc6b406cd73f8
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c1b8b13313..39f44857e9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74277,6 +74277,28 @@ unstable language features.")
     (description "This package provides a newtypes for text offsets")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-textnonce-1
+  (package
+    (name "rust-textnonce")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "textnonce" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10v653sz0305dlzdqh6wh795hxypk24s21iiqcfyv16p1kbzhhvp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-base64" ,rust-base64-0.12)
+                       ("rust-rand" ,rust-rand-0.7)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1))))
+    (home-page "https://github.com/mikedilger/textnonce";)
+    (synopsis "Text based random nonce generator")
+    (description "Text based random nonce generator.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-textwrap-0.16
   (package
     (name "rust-textwrap")



reply via email to

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