aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-17 23:03:58 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 19:53:01 +0100
commitf37a3a3165aacea0a97c9ab1d1000f81c6d28e0e (patch)
tree24b51b41f6fda048aa220d5173719849da77ebd4 /gnu
parent0834a6cfdecda3a80e8e638010a77f1ee552b152 (diff)
downloadguix-f37a3a3165aacea0a97c9ab1d1000f81c6d28e0e.tar
guix-f37a3a3165aacea0a97c9ab1d1000f81c6d28e0e.tar.gz
gnu: Add rust-trash-2.
* gnu/packages/crates-io.scm (rust-trash-2): New variable. (rust-trash-1): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 28 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 327c8ea177..1e22722b82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58861,22 +58861,29 @@ be used directly. See @code{rust-trackable} for more information.")
(license (list license:asl2.0
license:expat))))
-(define-public rust-trash-1
+(define-public rust-trash-2
(package
(name "rust-trash")
- (version "1.3.0")
+ (version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "trash" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "04nmmh6pnlsdpgz24bwnjpyqcs66414w1sip9whlx0aln6prdpwh"))))
+ (base32 "1g3wjnr5qvgvvi144mlgf0mh80dybmy9zv2xyswpm55p5p5vdsyk"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.3))))
+ (("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-scopeguard" ,rust-scopeguard-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-windows" ,rust-windows-0.9)
+ ("rust-windows" ,rust-windows-0.9))))
(home-page "https://github.com/ArturKovacs/trash-rs")
(synopsis "Library for moving files and folders to the recycle bin")
(description
@@ -58884,6 +58891,23 @@ be used directly. See @code{rust-trackable} for more information.")
recycle bin.")
(license license:expat)))
+(define-public rust-trash-1
+ (package
+ (inherit rust-trash-2)
+ (name "rust-trash")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "trash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04nmmh6pnlsdpgz24bwnjpyqcs66414w1sip9whlx0aln6prdpwh"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-tree-magic-0.2
(package
(name "rust-tree-magic")