guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: Add rust-hamcrest2-0.3.


From: guix-commits
Subject: 07/08: gnu: Add rust-hamcrest2-0.3.
Date: Sat, 3 Apr 2021 08:23:49 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 3f1cc80ac6afef31a8f85cdac172b8669b7722c3
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Apr 3 12:21:12 2021 +0200

    gnu: Add rust-hamcrest2-0.3.
    
    * gnu/packages/crates-io.scm (rust-hamcrest2-0.3): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 32e941e..32440e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17271,6 +17271,29 @@ highlighting for a large number of languages, git 
integration, and automatic
 paging.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hamcrest2-0.3
+  (package
+    (name "rust-hamcrest2")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hamcrest2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0x8hx7jyzz2bl0wf6nir62imd26yhp6qcr7zf76cjpg05p33gy29"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-num" ,rust-num-0.2)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/Valloric/hamcrest2-rust";)
+    (synopsis "Rust port of the Hamcrest testing library")
+    (description
+     "This package provides a port of the Hamcrest testing library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-handlebars-2
   (package
     (name "rust-handlebars")



reply via email to

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