guix-commits
[Top][All Lists]
Advanced

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

245/311: gnu: Add rust-deranged-0.3.


From: guix-commits
Subject: 245/311: gnu: Add rust-deranged-0.3.
Date: Sat, 28 Oct 2023 16:39:28 -0400 (EDT)

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

commit aeac07bd1b90801f2a98f7d300c3c9b34df5122e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Oct 28 09:43:31 2023 +0300

    gnu: Add rust-deranged-0.3.
    
    * gnu/packages/crates-io.scm (rust-deranged-0.3): New variable.
    
    Change-Id: Ic07ee4991c7b6fd735ce6f82ee8a1b6a6e7d5855
---
 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 e567956804..8ea6e89fa8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20868,6 +20868,31 @@ targets")
         ("rust-pretty-assertions" ,rust-pretty-assertions-0.7)
         ("rust-test-case" ,rust-test-case-1))))))
 
+(define-public rust-deranged-0.3
+  (package
+    (name "rust-deranged")
+    (version "0.3.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "deranged" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lqzxgxqa1jdsvh4r7fbckpxvvfr8b819vwzdzd2f166494x0chg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-powerfmt" ,rust-powerfmt-0.2)
+                       ("rust-quickcheck" ,rust-quickcheck-1)
+                       ("rust-rand" ,rust-rand-0.8)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/jhpratt/deranged";)
+    (synopsis "Ranged integers")
+    (description "Ranged integers.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-derivative-2
   (package
     (name "rust-derivative")



reply via email to

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