aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-20 08:20:14 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:17:00 +0200
commit6691d93d92ac1128ef7d269d500ca89cc6d6bfe7 (patch)
tree08cf570d17e879269b7a6d2f3d7d1a5722db14d9
parentf76bbcb6e35b4cfc71ac7daff54388f729ee9e40 (diff)
downloadguix-6691d93d92ac1128ef7d269d500ca89cc6d6bfe7.tar
guix-6691d93d92ac1128ef7d269d500ca89cc6d6bfe7.tar.gz
gnu: Add rust-ref-cast-impl-0.2.
* gnu/packages/crates-io.scm (rust-ref-cast-impl-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 55825f2e39..1584805b37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7897,6 +7897,32 @@ system calls.")
"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-0.2
+ (package
+ (name "rust-ref-cast-impl")
+ (version "0.2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ref-cast-impl" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hw0frpzna5rf5szix56zyzd0vackcb3svj94ndj629xi75dkb32"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-syn" ,rust-syn-0.15))))
+ (home-page "https://github.com/dtolnay/ref-cast")
+ (synopsis "Derive implementation for @code{ref_cast::RefCast}")
+ (description
+ "Derive implementation for ref_cast::RefCast.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-regex-1.1
(package
(name "rust-regex")