gnu: Add rust-remove-dir-all-0.8.

* gnu/packages/crates-io.scm (rust-remove-dir-all-0.8): New variable.
(rust-remove-dir-all-0.5): Inherit from rust-remove-dir-all-0.8.
This commit is contained in:
Efraim Flashner 2023-05-22 17:07:57 +03:00
parent bc1dceeba7
commit b0c39b12af
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -50982,8 +50982,48 @@ (define-public rust-relative-path-1
(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
@ -50994,19 +51034,11 @@ (define-public rust-remove-dir-all-0.5
(sha256
(base32
"1rzqbsgkmr053bxxl04vmvsd1njyz0nxvly97aip6aa2cmb15k9s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-doc-comment" ,rust-doc-comment-0.3))))
(home-page "https://github.com/XAMPPRocky/remove_dir_all")
(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:asl2.0
license:expat))))
(("rust-doc-comment" ,rust-doc-comment-0.3))))))
(define-public rust-rend-0.3
(package