guix-commits
[Top][All Lists]
Advanced

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

50/189: gnu: Add rust-if-chain-1.


From: guix-commits
Subject: 50/189: gnu: Add rust-if-chain-1.
Date: Mon, 21 Sep 2020 06:01:07 -0400 (EDT)

arunisaac pushed a commit to branch wip-swc
in repository guix.

commit 7c0ada374639161e2f0ba0a09cd08f21ee2847dd
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 34f32ca..bd29995 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11530,6 +11530,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]