aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-15 04:10:19 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-12 21:05:43 +0200
commit959b93a66032c4f647d0e1209b855e7762dbd10b (patch)
tree1243259e7dc8f7ab1c84e6ee13f70a10cff8335b
parenta09dad21f354f15b83c189175b68c38cb7287fd0 (diff)
downloadguix-959b93a66032c4f647d0e1209b855e7762dbd10b.tar.gz
guix-959b93a66032c4f647d0e1209b855e7762dbd10b.zip
gnu: Add rust-downcast-rs-1.1.
* gnu/packages/crates-io.scm (rust-downcast-rs-1.1): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1db1b61126..3391533d96 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2996,6 +2996,27 @@ from macros.")
(description "Command line argument parsing.")
(license (list license:expat license:unlicense))))
+(define-public rust-downcast-rs-1.1
+ (package
+ (name "rust-downcast-rs")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "downcast-rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xhs2qj02k9m4mm5fgh19y88850y9jsnwwlblf2ffc91gjs6xfjj"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/marcianx/downcast-rs")
+ (synopsis "Trait object downcasting support using only safe Rust")
+ (description
+ "Trait object downcasting support using only safe Rust. It supports type
+parameters, associated types, and type constraints.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dtoa-0.4
(package
(name "rust-dtoa")