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

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7a9c5c12ec..4ede7f5720 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27397,6 +27397,37 @@ (define-public rust-fuser-0.13
      "This package provides the Filesystem in Userspace (FUSE) for Rust.")
     (license license:expat)))
 
+(define-public rust-fuser-0.11
+  (package
+    (inherit rust-fuser-0.13)
+    (name "rust-fuser")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "fuser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16a5d4118rjzcksnrqi0whnpddc2kqiangydc989ghib327xakhh"))))
+    (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.4)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-users" ,rust-users-0.11)
+                       ("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))))))
+
 (define-public rust-futf-0.1
   (package
     (name "rust-futf")
-- 
2.41.0