gnu: Add rust-hamcrest2-0.3.
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 3 Apr 2021 10:21:12 +0000 (12:21 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 3 Apr 2021 10:21:12 +0000 (12:21 +0200)
* gnu/packages/crates-io.scm (rust-hamcrest2-0.3): New variable.

gnu/packages/crates-io.scm

index 32e941e..32440e2 100644 (file)
@@ -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")