Subject: [PATCH rust-team 35/46] gnu: Add rust-mozim-0.2.

From: Tomas Volf <[email-masked]>
Date: Thu, 15 Feb 2024 21:26:48 +0100

* gnu/packages/crates-io.scm (rust-mozim-0.2): New variable.

Change-Id: Ia9e33d111adc2e735011dba43f91b99f88eb0833
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f967f96224..7f4e01b4b1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38424,6 +38424,34 @@ (define-public rust-more-asserts-0.3
 debug_assert_* macros.")
     (license (list license:unlicense license:expat license:asl2.0 license:cc0))))
 
+(define-public rust-mozim-0.2
+  (package
+    (name "rust-mozim")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mozim" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "14f4k92zfr1mm2qhq6j3bq277j4wfdlj24lb96py0jrivz81a70c"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-dhcproto" ,rust-dhcproto-0.9)
+                       ("rust-etherparse" ,rust-etherparse-0.13)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-nispor" ,rust-nispor-1)
+                       ("rust-nix" ,rust-nix-0.26)
+                       ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/nispor/mozim")
+    (synopsis "DHCP Client Library")
+    (description "DHCP Client Library.")
+    (license license:asl2.0)))
+
 (define-public rust-mp4-0.9
   (package
     (name "rust-mp4")
-- 
2.41.0