[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/156: gnu: Add rust-xattr-1.
From: |
guix-commits |
Subject: |
18/156: gnu: Add rust-xattr-1. |
Date: |
Tue, 24 Oct 2023 08:52:03 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 1fc4719d8f4b8d7f656b35a80338bcd0f4493e3f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 08:28:10 2023 +0300
gnu: Add rust-xattr-1.
* gnu/packages/crates-io.scm (rust-xattr-1): New variable.
(rust-xattr-0.2): Inherit from rust-xattr-1.
Change-Id: Ib28cea71b8fe5c55952eefa7bc26bb262c3e0a71
---
gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e5b2c5926..5da357b0ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84478,8 +84478,34 @@ languages.")
("rust-raw-cpuid" ,rust-raw-cpuid-8)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-xattr-1
+ (package
+ (name "rust-xattr")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xattr" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11b93igkwsq88b6m14x63c13zns418njh6ngvg2fbwqzyw4n0s7l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Tries to access files outside of build environment.
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/Stebalien/xattr")
+ (synopsis "Unix extended file system attributes")
+ (description
+ "This package provide a small library for setting, getting, and listing
+extended attributes.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-xattr-0.2
(package
+ (inherit rust-xattr-1)
(name "rust-xattr")
(version "0.2.2")
(source
@@ -84490,20 +84516,12 @@ languages.")
(sha256
(base32
"0k556fb6f5jc907975j9c8iynl2fqz3rf0w6fiig83i4yi0kfk14"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs
- (("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://github.com/Stebalien/xattr")
- (synopsis "Unix extended file system attributes")
- (description
- "This package provide a small library for setting, getting, and listing
-extended attributes.")
- (license (list license:asl2.0
- license:expat))))
+ (("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-xcb-1
(package
- 79/156: gnu: Add rust-crosstermion-0.11., (continued)
- 79/156: gnu: Add rust-crosstermion-0.11., guix-commits, 2023/10/24
- 85/156: gnu: Add rust-gix-utils-0.1., guix-commits, 2023/10/24
- 86/156: gnu: Add rust-gix-url-0.19., guix-commits, 2023/10/24
- 07/156: gnu: rust-cargo-platform-0.1: Update to 0.1.4., guix-commits, 2023/10/24
- 09/156: gnu: rust-digest-0.10: Update to 0.10.7., guix-commits, 2023/10/24
- 10/156: gnu: Add rust-compound-duration-1., guix-commits, 2023/10/24
- 12/156: gnu: rust-glob-0.3: Update to 0.3.1., guix-commits, 2023/10/24
- 11/156: gnu: rust-filetime-0.2: Update to 0.2.22., guix-commits, 2023/10/24
- 14/156: gnu: rust-is-terminal-0.4: Update to 0.4.9., guix-commits, 2023/10/24
- 17/156: gnu: Add libgit2-1.6., guix-commits, 2023/10/24
- 18/156: gnu: Add rust-xattr-1.,
guix-commits <=
- 19/156: gnu: Add rust-winnow-0.5., guix-commits, 2023/10/24
- 15/156: gnu: Add rust-libloading-0.8., guix-commits, 2023/10/24
- 30/156: gnu: rust-tar-0.4: Update to 0.4.40., guix-commits, 2023/10/24
- 21/156: gnu: Add rust-windows-implement-0.48., guix-commits, 2023/10/24
- 36/156: gnu: rust-polling-2: Update to 2.8.0., guix-commits, 2023/10/24
- 26/156: gnu: rust-toml-0.7: Update to 0.7.8., guix-commits, 2023/10/24
- 22/156: gnu: Add rust-windows-0.48., guix-commits, 2023/10/24
- 20/156: gnu: Add rust-windows-interface-0.48., guix-commits, 2023/10/24
- 27/156: gnu: rust-thiserror-impl-1: Update to 1.0.50., guix-commits, 2023/10/24
- 31/156: gnu: rust-sha2-asm-0.6: Update to 0.6.3., guix-commits, 2023/10/24