aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 14:59:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:01 +0300
commitdac3fc6974193597a3343b1d5c6283a8ebdf8d3f (patch)
tree17bed239d0416819624df3affad61d97137fc21c
parent9bdfe5c1ea5d8f0cdb923f77c0b1021239be1daf (diff)
downloadpatches-dac3fc6974193597a3343b1d5c6283a8ebdf8d3f.tar
patches-dac3fc6974193597a3343b1d5c6283a8ebdf8d3f.tar.gz
gnu: Add rust-xdg.
* gnu/packages/crates-io.scm (rust-xdg): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2ead1c578f..b255cfe624 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1124,3 +1124,23 @@ x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on
(license (list license:asl2.0
license:expat))))
+(define-public rust-xdg
+ (package
+ (name "rust-xdg")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xdg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mws8a0fr3cqk5nh7aq9lmkmhzghvasqy4mhw6nnza06l4d6i2fh"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/whitequark/rust-xdg")
+ (synopsis "Store and retrieve files according to XDG specification")
+ (description
+ "This package provides a library for storing and retrieving files according
+to XDG Base Directory specification")
+ (license (list license:asl2.0
+ license:expat))))