Subject: [PATCH 04/21] gnu: Add rust-nix-0.11.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e171656543..a19e8b1feb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44432,6 +44432,33 @@ (define-public rust-nix-0.14
         (base32
          "1kmxdlmvnmq8cfpmr3g6wk37rwi2ybdvp1z6z3831m1p23p2nwkc"))))))
 
+(define-public rust-nix-0.11
+  (package
+    (inherit rust-nix-0.14)
+    (name "rust-nix")
+    (version "0.11.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nix" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0p06wvrg172gb4z59nvsnab9xkxqqq74ibf773px471gcrynbjxy"))))
+    (arguments
+     (list
+      #:tests? #f
+      #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-cc" ,rust-cc-1)
+                       ("rust-cfg-if" ,rust-cfg-if-0.1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-void" ,rust-void-1))
+      #:cargo-development-inputs `(("rust-bytes" ,rust-bytes-0.4)
+                                   ("rust-lazy-static" ,rust-lazy-static-1.1)
+                                   ("rust-rand" ,rust-rand-0.4)
+                                   ("rust-sysctl" ,rust-sysctl-0.1)
+                                   ("rust-tempdir" ,rust-tempdir-0.3)
+                                   ("rust-tempfile" ,rust-tempfile-2))))))
+
 (define-public rust-nix-0.8
   (package
     (inherit rust-nix-0.15)
-- 
2.41.0