From 91f61a7624338105093e91efce6f8decb5f19638 Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Mon, 25 Jan 2021 13:34:04 +0800 Subject: gnu: Add rust-defer-drop-1. * gnu/packages/crates-io.scm (rust-defer-drop-1): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') 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 @@ (define-public rust-decimal-2.0 "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") -- cgit v1.2.3