diff options
author | phodina <phodina@protonmail.com> | 2021-09-04 07:11:32 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-22 16:57:46 +0200 |
commit | 10e5c073f1f27fd63c5d4062d49b2ceca8dd5ca6 (patch) | |
tree | 42c1fda1e3656ff428529f78032df9fb992d1980 /gnu | |
parent | a89dfa659797c137a304921016b0975a9af8d3d7 (diff) | |
download | guix-10e5c073f1f27fd63c5d4062d49b2ceca8dd5ca6.tar.gz |
gnu: Add rust-downcast-0.10.
* gnu/packages/crates-io.scm (rust-downcast-0.10): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 20ef86aff5..20fa0ad0b3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14453,6 +14453,27 @@ from macros.") ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) ("rust-strsim" ,rust-strsim-0.5)))))) +(define-public rust-downcast-0.10 + (package + (name "rust-downcast") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "downcast" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "07bh0l95gwrzak6rj29v8kkm577d8vivxsxhqgscf64b4bq59d2b")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/fkoep/downcast-rs") + (synopsis + "Trait for downcasting trait objects back to their original types") + (description + "This crate provides a trait for downcasting trait objects back to their +original types.") + (license license:expat))) + (define-public rust-downcast-rs-1 (package (name "rust-downcast-rs") |