From 4b920a09845466d1bcaed806d1a1ebd687bab097 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 16 May 2023 11:59:20 +0300 Subject: [PATCH] gnu: rust-trash-2: Update to 2.1.3. * gnu/packages/crates-io.scm (rust-trash-2): Update to 2.1.3. [arguments]: Don't skip build. [cargo-inputs]: Add rust-once-cell-1. [cargo-development-inputs]: Add rust-chrono-0.4, rust-env-logger-0.9, rust-once-cell-1, rust-rand-0.8, rust-serial-test-0.6. --- gnu/packages/crates-io.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a578ecb10a..f51aae9b46 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68804,26 +68804,31 @@ (define-public rust-traitobject-0.1 (define-public rust-trash-2 (package (name "rust-trash") - (version "2.0.2") + (version "2.1.3") (source (origin (method url-fetch) (uri (crate-uri "trash" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1g3wjnr5qvgvvi144mlgf0mh80dybmy9zv2xyswpm55p5p5vdsyk")))) + (base32 "14ji8b84ghwkln01v90ahhl2jkxv2qxkm0afprzphf1ln41k6nqi")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.4) ("rust-objc" ,rust-objc-0.2) + ("rust-once-cell" ,rust-once-cell-1) ("rust-scopeguard" ,rust-scopeguard-1) ("rust-url" ,rust-url-2) - ("rust-windows" ,rust-windows-0.9) - ("rust-windows" ,rust-windows-0.9)))) + ("rust-windows" ,rust-windows-0.9)) + #:cargo-development-inputs + (("rust-chrono" ,rust-chrono-0.4) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-serial-test" ,rust-serial-test-0.6)))) (home-page "https://github.com/ArturKovacs/trash-rs") (synopsis "Library for moving files and folders to the recycle bin") (description