guix-commits
[Top][All Lists]
Advanced

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

26/194: gnu: Add rust-float-eq-derive-1.


From: guix-commits
Subject: 26/194: gnu: Add rust-float-eq-derive-1.
Date: Tue, 3 Oct 2023 14:57:15 -0400 (EDT)

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

commit bd3ad98197d1db3defff85f1d76ef24ceb7c5c74
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:22:04 2023 +0300

    gnu: Add rust-float-eq-derive-1.
    
    * gnu/packages/crates-io.scm (rust-float-eq-derive-1): New variable.
---
 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 9f3f81fdfa..fa2cdbd1e1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24995,6 +24995,28 @@ traits.")
         (base32
          "0036jb8ry4h83n319jb20b5yvyfyq8mx8dkxnyjm22nq8fl8yjhk"))))))
 
+(define-public rust-float-eq-derive-1
+  (package
+    (name "rust-float-eq-derive")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "float-eq-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mkg635lmr0nwjlxz6f5k8g60hrd800i061hrlmpvhdkl96d74j2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://jtempest.github.io/float_eq-rs/";)
+    (synopsis "Derive macro support for float_eq")
+    (description "This package provides the derive macro support for 
float_eq.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-float-ord-0.3
   (package
     (name "rust-float-ord")



reply via email to

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