guix-commits
[Top][All Lists]
Advanced

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

114/330: gnu: Add rust-sample-test-0.2.


From: guix-commits
Subject: 114/330: gnu: Add rust-sample-test-0.2.
Date: Mon, 18 Mar 2024 07:15:36 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 6df7e9e2812ab16ef9202673077d4c8ba598f5c9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:46:22 2024 +0200

    gnu: Add rust-sample-test-0.2.
    
    * gnu/packages/crates-io.scm (rust-sample-test-0.2): New variable.
    
    Change-Id: Ic85b7dfdeed359662028f9a10df02bd8eca70a61
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f7f7b86923..c4e764f4d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60158,6 +60158,31 @@ paths point to the same file.")
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-sample-test-0.2
+  (package
+    (name "rust-sample-test")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sample-test" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1gymqxvr6avi40g73mg56lgzbs2x4yvy50mm15mpa5k4a7557cp8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-env-logger" ,rust-env-logger-0.10)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-quickcheck" ,rust-quickcheck-1)
+                       ("rust-sample-std" ,rust-sample-std-0.2)
+                       ("rust-sample-test-macros" 
,rust-sample-test-macros-0.2))
+       #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1))))
+    (home-page "https://docs.rs/sample-test";)
+    (synopsis "Sampling strategies and machinery for testing arbitrary data")
+    (description
+     "Sampling strategies and machinery for testing arbitrary data")
+    (license license:asl2.0)))
+
 (define-public rust-sample-test-macros-0.2
   (package
     (name "rust-sample-test-macros")



reply via email to

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