From f7b63404e89889ab2f9a59fc1786744091949812 Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Mon, 25 Jan 2021 13:34:04 +0800 Subject: [PATCH 2/4] gnu: Add rust-defer-drop-1. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39b3fb5189..1357f52c19 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8815,6 +8815,33 @@ 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") -- 2.30.0