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>
This commit is contained in:
Zheng Junjie 2021-01-25 13:34:04 +08:00 committed by Nicolas Goaziou
parent 8b3e074ebf
commit 91f61a7624
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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")