From 12a62abbb1d780191d07c60334ac5a69e6567319 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 22 Mar 2023 10:10:13 +0100 Subject: gnu: Add rust-funty-2. * gnu/packages/crates-io.scm (rust-funty-2): New variable. --- gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f4a3a9d13a..a52e02a746 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22993,6 +22993,28 @@ pseudorandom number generator") (description "Low-level Rust bindings for the Zircon kernel.") (license license:bsd-3))) +(define-public rust-funty-2 + (package + (name "rust-funty") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (crate-uri "funty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "177w048bm0046qlzvp33ag3ghqkqw4ncpzcm5lq36gxf2lla7mg6")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-static-assertions" ,rust-static-assertions-1)))) + (home-page "https://ferrilab.github.io/ferrilab") + (synopsis "Trait generalization over the primitive types") + (description "The funty crate (fundamental types) provides traits that +unify the Rust non-pointer primitives. It also unifies pointers and +references by lifting access permissions into the trait system.") + (license license:expat))) + (define-public rust-funty-1 (package (name "rust-funty") -- cgit 1.4.1