guix-commits
[Top][All Lists]
Advanced

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

78/156: gnu: Add rust-defer-0.1.


From: guix-commits
Subject: 78/156: gnu: Add rust-defer-0.1.
Date: Tue, 24 Oct 2023 08:52:34 -0400 (EDT)

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

commit 268b07113848718a58c4a6636c6268cbdc8b071f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 09:10:38 2023 +0300

    gnu: Add rust-defer-0.1.
    
    * gnu/packages/crates-io.scm (rust-defer-0.1): New variable.
    
    Change-Id: Iace1652c9329308a11ebb8180e48d83894b6bc2a
---
 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 17d86ae074..3c2007f7a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20123,6 +20123,24 @@ verifying the contents.")
      "Decimal floating point arithmetic for Rust.")
     (license license:asl2.0)))
 
+(define-public rust-defer-0.1
+  (package
+    (name "rust-defer")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "defer" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pmcz4av2wvw8zrccmac86dsyy34qlwacdhajp1qjpjx6jk0axk4"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/andrewhickman/defer/";)
+    (synopsis "Utility to defer excecution of code")
+    (description
+     "Utility to defer excecution of code, inspired by go's defer statement.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-defer-drop-1
   (package
     (name "rust-defer-drop")



reply via email to

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