aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 10:14:17 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:53 +0200
commitcb806c7c63e6c05facd1bb146d54593ba3e43808 (patch)
tree3dbd0e57a2b24aaab56f66dc3bf2b7c11ab2617b
parentb6510b1a62b7b20567708db34fa45a6b70d5ebce (diff)
downloadguix-cb806c7c63e6c05facd1bb146d54593ba3e43808.tar.gz
guix-cb806c7c63e6c05facd1bb146d54593ba3e43808.zip
gnu: Add rust-dirs-sys-0.3.
* gnu/packages/crates-io.scm (rust-dirs-sys-0.3): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72523a9613..200147140f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2380,6 +2380,35 @@ Windows, and the Standard Directory guidelines on macOS.")
(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-dirs-sys-0.3
+ (package
+ (name "rust-dirs-sys")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dirs-sys" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0yyykdcmbc476z1v9m4z5jb8y91dw6kgzpkiqi2ig07xx0yv585g"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-redox-users" ,rust-redox-users-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/soc/dirs-sys-rs")
+ (synopsis
+ "System-level helper functions for the dirs and directories crates")
+ (description
+ "This package provides system-level helper functions for the @code{dirs}
+and @code{directories} crates.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-discard-1.0
(package
(name "rust-discard")