summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:51:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:10 +0300
commitc6deb680e263b637a27fc6cc7782fdbf5485623e (patch)
tree134a04249d07f59aab9df296726e7210b8ea3ed2 /gnu
parentaf72ed1696f1c09ec5ecbf8c138a5fc52e2cdd42 (diff)
downloadguix-c6deb680e263b637a27fc6cc7782fdbf5485623e.tar.gz
gnu: Add rust-walkdir.
* gnu/packages/crates-io.scm (rust-walkdir): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3a7d9cfcc..80f3fae513 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1895,6 +1895,32 @@ If that fails, no determination is made, and calls return None.")
      "The uninhabited void type for use in statically impossible cases.")
     (license license:expat)))
 
+(define-public rust-walkdir
+  (package
+    (name "rust-walkdir")
+    (version "2.2.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "walkdir" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "07ppalpvxkf8cnqr64np422792y4z5bs9m8b4nrflh5rm17wjn4n"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-same-file" ,rust-same-file)
+        ("rust-winapi" ,rust-winapi)
+        ("rust-winapi-util" ,rust-winapi-util))
+       #:cargo-development-inputs
+       (("rust-doc-comment" ,rust-doc-comment))))
+    (home-page  "https://github.com/BurntSushi/walkdir")
+    (synopsis "Recursively walk a directory")
+    (description "Recursively walk a directory.")
+    (license (list license:unlicense
+                   license:expat))))
+
 (define-public rust-wasi
   (package
     (name "rust-wasi")