[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: Add rust-downcast-0.11.
From: |
guix-commits |
Subject: |
01/04: gnu: Add rust-downcast-0.11. |
Date: |
Mon, 20 Feb 2023 07:01:58 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit fd7c10681ab2eb3ce3466bc40cafd4013ab09abb
Author: Steve George <steve@futurile.net>
AuthorDate: Thu Feb 16 22:57:39 2023 +0000
gnu: Add rust-downcast-0.11.
* gnu/packages/crates-io.scm (rust-downcast-0.11): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e615a51b01..1bb55a0a2d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17761,6 +17761,26 @@ from macros.")
@code{Cargo.toml}.")
(license (list license:expat license:asl2.0))))
+(define-public rust-downcast-0.11
+ (package
+ (name "rust-downcast")
+ (version "0.11.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "downcast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1wa78ahlc57wmqyq2ncr80l7plrkgz57xsg7kfzgpcnqac8gld8l"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/fkoep/downcast-rs")
+ (synopsis
+ "Trait for downcasting trait objects back to their original types")
+ (description
+ "This package provides a trait, and utilities, for downcasting trait
+objects back to their original types. The same as the rust-downcast-rs
crate.")
+ (license license:expat)))
+
(define-public rust-downcast-rs-1
(package
(name "rust-downcast-rs")