summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ec65076a36..a56faa011b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3620,6 +3620,33 @@ color in a Windows console.")
"Contains function definitions for the Windows API library ws2_32.")
(license license:expat)))
+(define-public rust-xattr
+ (package
+ (name "rust-xattr")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xattr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile))
+ #:tests? #f)) ; Tests assume read access to /var.
+ (home-page "https://github.com/Stebalien/xattr")
+ (synopsis "Unix extended filesystem attributes")
+ (description
+ "This package provide a small library for setting, getting, and listing
+extended attributes.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-xdg
(package
(name "rust-xdg")