From f197a0835a2fef07c06d5a878051b42b2e1a82e4 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Dec 2023 15:18:07 +0200 Subject: [PATCH] gnu: rust-remove-dir-all: Move to (gnu packages crates-windows). * gnu/packages/crates-io.scm (rust-remove-dir-all-0.5, rust-remove-dir-all-0.8): Move from here ... * gnu/packages/crates-windows.scm: ... to here. Change-Id: I37c560a330a51722401ec325c8a262782c8d3fce --- gnu/packages/crates-io.scm | 58 ------------------------------ gnu/packages/crates-windows.scm | 62 +++++++++++++++++++++++++++++++-- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 12e3d0a60a..5948238cd3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56912,64 +56912,6 @@ crate unless you're working on a regex implementation.") (description "This package provides portable, relative paths for Rust.") (license (list license:expat license:asl2.0)))) -(define-public rust-remove-dir-all-0.8 - (package - (name "rust-remove-dir-all") - (version "0.8.2") - (source (origin - (method url-fetch) - (uri (crate-uri "remove_dir_all" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "0ay0mi06ak1n5gw3yjgp0hvzl59nj31ahxpdqvczw5qrvkx5r293")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs - (("rust-aligned" ,rust-aligned-0.4) - ("rust-cfg-if" ,rust-cfg-if-1) - ("rust-clap" ,rust-clap-4) - ("rust-cvt" ,rust-cvt-0.1) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-fs-at" ,rust-fs-at-0.1) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4) - ("rust-normpath" ,rust-normpath-1) - ("rust-rayon" ,rust-rayon-1) - ("rust-windows-sys" ,rust-windows-sys-0.45)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3) - ("rust-env-logger" ,rust-env-logger-0.10) - ("rust-log" ,rust-log-0.4) - ("rust-tempfile" ,rust-tempfile-3) - ("rust-test-log" ,rust-test-log-0.2)))) - (home-page "https://github.com/XAMPPRocky/remove_dir_all.git") - (synopsis "Implementation of remove_dir_all for Windows") - (description - "This package provides a safe, reliable implementation of -@code{remove_dir_all} for Windows") - (license (list license:expat license:asl2.0)))) - -(define-public rust-remove-dir-all-0.5 - (package - (inherit rust-remove-dir-all-0.8) - (name "rust-remove-dir-all") - (version "0.5.3") - (source - (origin - (method url-fetch) - (uri (crate-uri "remove_dir_all" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s")))) - (arguments - `(#:cargo-inputs - (("rust-winapi" ,rust-winapi-0.3)) - #:cargo-development-inputs - (("rust-doc-comment" ,rust-doc-comment-0.3)))))) - (define-public rust-rend-0.3 (package (name "rust-rend") diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 882787dc07..362953b763 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019, 2020, 2022, 2023 Efraim Flashner -;;; Copyright © 2020 John Soo +;;; Copyright © 2019-2023 Efraim Flashner +;;; Copyright © 2020, 2021 John Soo ;;; Copyright © 2020 Valentin Ignatev ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2020, 2021 Nicolas Goaziou @@ -487,6 +487,64 @@ IOCP and Async I/O abstractions.") for MinGW-w64 and MSVC (cross-)compile targets.") (license license:expat))) +(define-public rust-remove-dir-all-0.8 + (package + (name "rust-remove-dir-all") + (version "0.8.2") + (source (origin + (method url-fetch) + (uri (crate-uri "remove_dir_all" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ay0mi06ak1n5gw3yjgp0hvzl59nj31ahxpdqvczw5qrvkx5r293")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-aligned" ,rust-aligned-0.4) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-clap" ,rust-clap-4) + ("rust-cvt" ,rust-cvt-0.1) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-fs-at" ,rust-fs-at-0.1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-normpath" ,rust-normpath-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-windows-sys" ,rust-windows-sys-0.45)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-env-logger" ,rust-env-logger-0.10) + ("rust-log" ,rust-log-0.4) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-test-log" ,rust-test-log-0.2)))) + (home-page "https://github.com/XAMPPRocky/remove_dir_all.git") + (synopsis "Implementation of remove_dir_all for Windows") + (description + "This package provides a safe, reliable implementation of +@code{remove_dir_all} for Windows") + (license (list license:expat license:asl2.0)))) + +(define-public rust-remove-dir-all-0.5 + (package + (inherit rust-remove-dir-all-0.8) + (name "rust-remove-dir-all") + (version "0.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "remove_dir_all" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s")))) + (arguments + `(#:cargo-inputs + (("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))))) + (define-public rust-windows-0.48 (package (name "rust-windows")