guix-commits
[Top][All Lists]
Advanced

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

07/18: gnu: Add rust-assert-matches-1.3.


From: guix-commits
Subject: 07/18: gnu: Add rust-assert-matches-1.3.
Date: Sun, 9 Feb 2020 05:14:40 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit ccdc86338d4ab95895581989093803deb36f8a50
Author: Valentin Ignatev <address@hidden>
AuthorDate: Wed Jan 15 03:24:17 2020 +0300

    gnu: Add rust-assert-matches-1.3.
    
    * gnu/packages/crates-io.scm (rust-assert-matches-1.3): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ad1931..c1844b9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -478,6 +478,26 @@ ArrayVec and ArrayString.")
      "ASCII-only equivalents to @code{char}, @code{str} and @code{String}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-assert-matches-1.3
+  (package
+    (name "rust-assert-matches")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "assert_matches" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1rar61v00gz2aniid0mylxcr4q98s6l77c3hvbszmg57kj10msvx"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/murarth/assert_matches";)
+    (synopsis "Asserts that a value matches a pattern")
+    (description
+     "This package asserts that a value matches a pattern in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-atty-0.2
   (package
     (name "rust-atty")



reply via email to

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