guix-commits
[Top][All Lists]
Advanced

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

145/330: gnu: Add rust-sample-std-0.1.


From: guix-commits
Subject: 145/330: gnu: Add rust-sample-std-0.1.
Date: Mon, 18 Mar 2024 07:15:52 -0400 (EDT)

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

commit 3e0a8b68c85e895ae4d1e83e8f2328dd9fc25400
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:59:57 2024 +0200

    gnu: Add rust-sample-std-0.1.
    
    * gnu/packages/crates-io.scm (rust-sample-std-0.1): New variable.
    
    Change-Id: Iee75d098eca11ed7481cbf7de4912c7ac3510537
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 64cce27373..7a07d91454 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60758,6 +60758,28 @@ paths point to the same file.")
     (description "Sampler definitions and implementations for st.")
     (license license:asl2.0)))
 
+(define-public rust-sample-std-0.1
+  (package
+    (inherit rust-sample-std-0.2)
+    (name "rust-sample-std")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sample-std" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1j2p3bj3c8gcxrfx5402zygm5l564p09bc0gj8wfhb1hqcyiayjn"))))
+    (arguments
+     `(#:tests? #f      ; Errors in the test code.
+       #:cargo-inputs (("rust-casey" ,rust-casey-0.4)
+                       ("rust-quickcheck" ,rust-quickcheck-1)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-rand-regex" ,rust-rand-regex-0.15)
+                       ("rust-regex" ,rust-regex-1))
+       #:cargo-development-inputs (("rust-once-cell" ,rust-once-cell-1)
+                                   ("rust-sample-test" 
,rust-sample-test-0.1))))))
+
 (define-public rust-sample-test-0.2
   (package
     (name "rust-sample-test")



reply via email to

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