Subject: [bug#66802] [PATCH 11/21] gnu: Add rust-fuser-0.13.

From: Jaeme Sifat <[email-masked]>
Date: Sat, 28 Oct 2023 18:51:21 -0400

* gnu/packages/crates-io.scm (rust-fuser-0.13): New variable.

Signed-off-by: Jaeme Sifat <[email-masked]>
Change-Id: I0dee8618d327cf15ce19809716bffe8b9dec3737
---
 gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ff4de868f5..7a9c5c12ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27360,6 +27360,43 @@ (define-public rust-funty-1.1
      `(#:cargo-development-inputs
        (("rust-static-assertions" ,rust-static-assertions-1))))))
 
+(define-public rust-fuser-0.13
+  (package
+    (name "rust-fuser")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fuser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16qny3f5snpjzvv33x7wfvs42nf5qjzsdcnz6vmchhh6cj20ydr1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags `("--"
+                            "--skip=mnt::test::mount_unmount"
+                            "--skip=unmount_no_send")
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-memchr" ,rust-memchr-2)
+                       ("rust-page-size" ,rust-page-size-0.5)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-zerocopy" ,rust-zerocopy-0.6))
+       #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+                                   ("rust-clap" ,rust-clap-3)
+                                   ("rust-env-logger" ,rust-env-logger-0.9)
+                                   ("rust-serde" ,rust-serde-1)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (inputs (list fuse))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/cberner/fuser")
+    (synopsis "Filesystem in Userspace (FUSE) for Rust")
+    (description
+     "This package provides the Filesystem in Userspace (FUSE) for Rust.")
+    (license license:expat)))
+
 (define-public rust-futf-0.1
   (package
     (name "rust-futf")
-- 
2.41.0