[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
263/371: gnu: Add rust-dirs-5.
From: |
guix-commits |
Subject: |
263/371: gnu: Add rust-dirs-5. |
Date: |
Thu, 25 May 2023 10:48:35 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e3f019773712f46caf0f8eed11849f059d3925c2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:52:02 2023 +0300
gnu: Add rust-dirs-5.
* gnu/packages/crates-io.scm (rust-dirs-5): New variable.
(rust-dirs-4): Inherit from rust-dirs-5.
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++--------
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 83f8d33c3d..fd3ca9eac9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19079,8 +19079,30 @@ platform-specific standard locations of directories
for config, cache and
other data.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dirs-5
+ (package
+ (name "rust-dirs")
+ (version "5.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0992xk5vx75b2x91nw9ssb51mpl8x73j9rxmpi96cryn0ffmmi24"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.4))))
+ (home-page "https://github.com/soc/dirs-rs")
+ (synopsis "Abstractions for standard locations for various platforms")
+ (description
+ "This package is a tiny low-level library that provides platform-specific
+standard locations of directories for config, cache and other data.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dirs-4
(package
+ (inherit rust-dirs-5)
(name "rust-dirs")
(version "4.0.0")
(source
@@ -19090,16 +19112,9 @@ other data.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0n8020zl4f0frfnzvgb9agvk4a14i1kjz4daqnxkgslndwmaffna"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-dirs-sys" ,rust-dirs-sys-0.3))))
- (home-page "https://github.com/soc/dirs-rs")
- (synopsis "Abstractions for standard locations for various platforms")
- (description
- "This package is a tiny low-level library that provides platform-specific
-standard locations of directories for config, cache and other data.")
- (license (list license:expat license:asl2.0))))
+ (("rust-dirs-sys" ,rust-dirs-sys-0.3))))))
(define-public rust-dirs-3
(package
- 245/371: gnu: Add rust-botan-src-0.21903., (continued)
- 245/371: gnu: Add rust-botan-src-0.21903., guix-commits, 2023/05/25
- 251/371: gnu: Add rust-anstyle-1., guix-commits, 2023/05/25
- 247/371: gnu: Add rust-botan-sys-0.10., guix-commits, 2023/05/25
- 252/371: gnu: Add rust-capnp-rpc-0.14., guix-commits, 2023/05/25
- 258/371: gnu: rust-clap-derive-4: Update to 4.3.0., guix-commits, 2023/05/25
- 257/371: gnu: rust-cipher-0.4: Update to 0.4.4., guix-commits, 2023/05/25
- 256/371: gnu: Add rust-chrono-tz-build-0.0.3., guix-commits, 2023/05/25
- 259/371: gnu: rust-clap-4: Update to 4.3.0., guix-commits, 2023/05/25
- 262/371: gnu: Add rust-cpp-demangle-0.4., guix-commits, 2023/05/25
- 265/371: gnu: Add rust-ecb-0.1., guix-commits, 2023/05/25
- 263/371: gnu: Add rust-dirs-5.,
guix-commits <=
- 266/371: gnu: Add rust-fehler-macros-1., guix-commits, 2023/05/25
- 269/371: gnu: Add rust-git-testament-derive-0.1., guix-commits, 2023/05/25
- 274/371: gnu: rust-html-escape-0.2: Update to 0.2.13., guix-commits, 2023/05/25
- 278/371: gnu: Add rust-markup5ever-rcdom-0.2., guix-commits, 2023/05/25
- 277/371: gnu: Add rust-markup5ever-0.11., guix-commits, 2023/05/25
- 279/371: gnu: Add rust-normpath-1., guix-commits, 2023/05/25
- 287/371: gnu: Add rust-pkcs1-0.7., guix-commits, 2023/05/25
- 289/371: gnu: Add rust-pulldown-cmark-0.9., guix-commits, 2023/05/25
- 290/371: gnu: Add rust-remove-dir-all-0.8., guix-commits, 2023/05/25
- 291/371: gnu: Add rust-rsa-0.9., guix-commits, 2023/05/25