summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <873216071@qq.com>2021-01-25 13:34:04 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-05 22:07:39 +0100
commit91f61a7624338105093e91efce6f8decb5f19638 (patch)
tree5f8f7d9906aeec0e2d89d06d87ad6152b1f17d66 /gnu/packages
parent8b3e074ebf037e8332a41130f206106d3efd181c (diff)
gnu: Add rust-defer-drop-1.
* gnu/packages/crates-io.scm (rust-defer-drop-1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 994de8cb7f..6780d9f6ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9207,6 +9207,30 @@ sizes. Big-endian order is used. WARNING: Block must be aligned!")
"Decimal floating point arithmetic for Rust.")
(license license:asl2.0)))
+(define-public rust-defer-drop-1
+ (package
+ (name "rust-defer-drop")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "defer-drop" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1d3pmmn5k2ir3yv8z8fnv4jprs5aijkz5pbdyl8x8kp18m90bbhq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
+ ("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/Lucretiel/defer-drop")
+ (synopsis "Defer dropping large types to a background thread")
+ (description
+ "This package provides a defer dropping large types to a background
+thread.")
+ (license license:mpl2.0)))
+
(define-public rust-deflate-0.8
(package
(name "rust-deflate")