[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/23: gnu: Add rust-dirs.
From: |
guix-commits |
Subject: |
14/23: gnu: Add rust-dirs. |
Date: |
Tue, 17 Sep 2019 12:40:36 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit a7debf9d7f655493e6c22936df6ade5d20a34ec6
Author: Efraim Flashner <address@hidden>
Date: Tue Sep 17 16:40:28 2019 +0300
gnu: Add rust-dirs.
* gnu/packages/crates-io.scm (rust-dirs): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e5ce4f1..7aa5289 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -666,6 +666,33 @@ hexadecimal, bas32, and base64.")
(base32
"17giv0n0n1r64z0dahfvkjy3ys517jxyhs8sd9lmgvcljpjyryxa"))))))
+(define-public rust-dirs
+ (package
+ (name "rust-dirs")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "02vigc566z5i6n9wr2x8sch39qp4arn89xhhrh18fhpm3jfc0ygn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc)
+ ("rust-winapi" ,rust-winapi))))
+ (home-page "https://github.com/soc/dirs-rs";)
+ (synopsis "Abstractions for standard locations for various platforms")
+ (description
+ "This package provides a tiny low-level library that provides
+platform-specific standard locations of directories for config, cache and other
+data on Linux, Windows, macOS and Redox by leveraging the mechanisms defined by
+the XDG base/user directory specifications on Linux, the Known Folder API on
+Windows, and the Standard Directory guidelines on macOS.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-discard
(package
(name "rust-discard")
- 21/23: gnu: Add rust-unreachable., (continued)
- 21/23: gnu: Add rust-unreachable., guix-commits, 2019/09/17
- 18/23: gnu: Add rust-libssh2-sys., guix-commits, 2019/09/17
- 11/23: gnu: Add rust-libnghttp2-sys., guix-commits, 2019/09/17
- 16/23: gnu: Add rust-openssl-sys., guix-commits, 2019/09/17
- 17/23: gnu: Add rust-curl-sys., guix-commits, 2019/09/17
- 15/23: gnu: Add rust-openssl-src., guix-commits, 2019/09/17
- 19/23: gnu: Add rust-libgit2-sys., guix-commits, 2019/09/17
- 04/23: gnu: Add rust-strsim-0.8., guix-commits, 2019/09/17
- 10/23: gnu: Add rust-lock-api., guix-commits, 2019/09/17
- 12/23: gnu: Add rust-libz-sys., guix-commits, 2019/09/17
- 14/23: gnu: Add rust-dirs.,
guix-commits <=
- 20/23: gnu: Add rust-libgit2-sys-0.7., guix-commits, 2019/09/17
- 23/23: gnu: Add rust-futures-sink-preview., guix-commits, 2019/09/17