[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: Add rust-ref-cast-impl-1.0.
From: |
guix-commits |
Subject: |
05/07: gnu: Add rust-ref-cast-impl-1.0. |
Date: |
Sun, 23 Feb 2020 10:33:07 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 9e12b6373c4b85072bdb31f0dae79e4fa2ffb170
Author: Valentin Ignatev <address@hidden>
AuthorDate: Sun Jan 19 16:01:57 2020 +0300
gnu: Add rust-ref-cast-impl-1.0.
* gnu/packages/crates-io.scm (rust-ref-cast-impl-1.0): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
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 6e82f8d..27474a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11478,6 +11478,31 @@ functionality.")
"Safely cast &T to &U where the struct U contains a single field of type
T.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ref-cast-impl-1.0
+ (package
+ (name "rust-ref-cast-impl")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ref-cast-impl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07rc752npmkyc5b8xcqk2ydbl3gxi1n4fzrq0wx9wz5qd4mvavn3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-1.0))))
+ (home-page "https://github.com/dtolnay/ref-cast")
+ (synopsis "Derive implementation for @code{ref_cast::RefCast}")
+ (description
+ "Derive implementation for @code{ref_cast::RefCast}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-ref-cast-impl-0.2
(package
(name "rust-ref-cast-impl")
- branch master updated (40cae20 -> 73c59b3), guix-commits, 2020/02/23
- 01/07: gnu: Add rust-futures-executor-0.3., guix-commits, 2020/02/23
- 03/07: gnu: Add rust-futures-0.3., guix-commits, 2020/02/23
- 05/07: gnu: Add rust-ref-cast-impl-1.0.,
guix-commits <=
- 02/07: gnu: Add rust-rustversion-1.0., guix-commits, 2020/02/23
- 04/07: gnu: Add rust-thiserror-impl-1.0., guix-commits, 2020/02/23
- 06/07: gnu: rust-ref-cast-impl-0.2: Inherit from rust-ref-cast-impl-1.0., guix-commits, 2020/02/23
- 07/07: gnu: Add rust-ref-cast-1.0., guix-commits, 2020/02/23