unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#42412] [PATCH] gnu: Add rust-directories.
@ 2020-07-18 10:09 Alexandru-Sergiu Marton
  2020-07-20  9:47 ` bug#42412: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-07-18 10:09 UTC (permalink / raw)
  To: 42412; +Cc: Alexandru-Sergiu Marton

* gnu/packages/crates-io.scm (rust-directories-3): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8a1e462f85..e6f2663f67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5610,6 +5610,38 @@ structs and enums.")
        (("rust-blobby" ,rust-blobby-0.1)
         ("rust-generic-array" ,rust-generic-array-0.13))))))
 
+(define-public rust-directories-3
+  (package
+    (name "rust-directories")
+    (version "3.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "directories" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "03ysv4m6mhsc3w1xnvncd5sxf7v2dz917awq6ksx0n0bsqwxdzpq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-dirs-sys" ,rust-dirs-sys-0.3))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1))))
+    (home-page
+     "https://github.com/soc/directories-rs")
+    (synopsis
+     "Library for standard locations of data directories")
+    (description
+     "This package provides a tiny mid-level library that provides
+platform-specific standard locations of directories for config,
+cache and other data on Linux, Windows and macOS 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-dirs-2.0
   (package
     (name "rust-dirs")
-- 
2.27.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#42412: [PATCH] gnu: Add rust-directories.
  2020-07-18 10:09 [bug#42412] [PATCH] gnu: Add rust-directories Alexandru-Sergiu Marton
@ 2020-07-20  9:47 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-07-20  9:47 UTC (permalink / raw)
  To: Alexandru-Sergiu Marton; +Cc: 42412-done

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

Apparently there was a redirect on the home-page so I updated that.
Patch pushed!


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-20  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-18 10:09 [bug#42412] [PATCH] gnu: Add rust-directories Alexandru-Sergiu Marton
2020-07-20  9:47 ` bug#42412: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).