guix-commits
[Top][All Lists]
Advanced

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

49/188: gnu: Add rust-if-chain-1.


From: guix-commits
Subject: 49/188: gnu: Add rust-if-chain-1.
Date: Mon, 12 Oct 2020 02:24:48 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit f274658c0ede9d8332f7b01d7b6d8d2d2840adff
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 20:02:26 2020 +0530

    gnu: Add rust-if-chain-1.
    
    * gnu/packages/crates-io.scm (rust-if-chain-1): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a77a280..5eb6d6b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10470,6 +10470,25 @@ SystemTime}}.")
        (("rust-rustc-serialize" ,rust-rustc-serialize-0.3)
         ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
+(define-public rust-if-chain-1
+  (package
+    (name "rust-if-chain")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "if_chain" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0zgcn31bahnsmsjc0cgk0cy38p8sfjs79yvi6rjs5zz5b5xhqdn3"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/lfairy/if_chain";)
+    (synopsis "Macro for writing nested @code{if let} expressions")
+    (description "This package provides a macro for writing nested @code{if
+let} expressions.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ignore-0.4
   (package
     (name "rust-ignore")



reply via email to

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