Subject: [bug#66842] [PATCH 33/39] gnu: Add rust-neli-0.5.

From: Jaeme Sifat <[email-masked]>
Date: Mon, 30 Oct 2023 22:52:37 -0400

* gnu/packages/crates-io.scm (rust-neli-0.5): New variable.

Change-Id: I074c250c39d9886e2afd19485090b7c61ab08f8d
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++----------
 1 file changed, 29 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 796af75447..0af094383b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43665,32 +43665,51 @@ (define-public rust-needletail-0.4
 processing library for Rust.")
     (license license:expat)))
 
-(define-public rust-neli-0.4
+(define-public rust-neli-0.5
   (package
     (name "rust-neli")
-    (version "0.4.4")
+    (version "0.5.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "neli" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8"))))
+        (base32 "020m4axf6dd05i9l3lyhspp71s5xcmlj1cfskh6y3dywnm75alwh"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-buffering" ,rust-buffering-0.4)
-        ("rust-byteorder" ,rust-byteorder-1)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-mio" ,rust-mio-0.6)
-        ("rust-tokio" ,rust-tokio-0.1))))
+     `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-futures" ,rust-futures-0.3)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-simple-logger" ,rust-simple-logger-1)
+                       ("rust-tokio" ,rust-tokio-1))))
     (home-page "https://github.com/jbaublitz/neli")
     (synopsis "Type safe netlink library written in Rust")
     (description
      "This crate is a type safe netlink library written in Rust.")
     (license license:bsd-3)))
 
+(define-public rust-neli-0.4
+  (package
+    (inherit rust-neli-0.5)
+    (name "rust-neli")
+    (version "0.4.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "neli" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8"))))
+    (arguments
+     `(#:cargo-inputs (("rust-buffering" ,rust-buffering-0.4)
+                       ("rust-byteorder" ,rust-byteorder-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-mio" ,rust-mio-0.6)
+                       ("rust-tokio" ,rust-tokio-0.1))))))
+
 (define-public rust-neso-0.5
   (package
     (name "rust-neso")
-- 
2.34.1