guix-commits
[Top][All Lists]
Advanced

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

77/134: gnu: Add rust-funty-1.2.


From: guix-commits
Subject: 77/134: gnu: Add rust-funty-1.2.
Date: Sat, 22 Jan 2022 07:39:22 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit cad7fb12deb8fb72db100e78dd917fad4916b079
Author: Aleksandr Vityazev <avityazev@posteo.org>
AuthorDate: Mon Jan 17 13:28:56 2022 +0000

    gnu: Add rust-funty-1.2.
    
    * gnu/packages/crates-io.scm (rust-funty-1.2): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 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 10e1683bf4..7fe2a59644 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21286,6 +21286,31 @@ pseudorandom number generator")
     (description "Low-level Rust bindings for the Zircon kernel.")
     (license license:bsd-3)))
 
+(define-public rust-funty-1.2
+  (package
+    (name "rust-funty")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "funty" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "07lb1f8yih3g694id3n90anlgxf8m6p98bllsnn6dmb5rfwsniqq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-static-assertions" ,rust-static-assertions-1))))
+    (home-page "https://github.com/myrrlyn/funty";)
+    (synopsis "Trait generalization over the primitive types")
+    (description
+     "Prior to 1.0, Rust had traits for the numeric primitive types to permit
+code to generalize over which specific type it accepted. This was never
+stabilized, and eventually removed.  This library reïnstates these traits.")
+    (license license:expat)))
+
 (define-public rust-funty-1
   (package
     (name "rust-funty")



reply via email to

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