guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/44: gnu: Add rust-neli-0.6.


From: guix-commits
Subject: 05/44: gnu: Add rust-neli-0.6.
Date: Mon, 12 Feb 2024 07:40:27 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 5b6abaacf9570570d5d99776b9b9bfb30631254c
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Jan 30 16:24:48 2024 +0100

    gnu: Add rust-neli-0.6.
    
    * gnu/packages/crates-io.scm (rust-neli-0.6): Add variable.
    (rust-neli-0.5): Inherit from rust-neli-0.6.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6115dfccb6..b9f1bae2fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39312,32 +39312,54 @@ general elements and for numerics.")
 processing library for Rust.")
     (license license:expat)))
 
-(define-public rust-neli-0.5
+(define-public rust-neli-0.6
   (package
     (name "rust-neli")
-    (version "0.5.3")
+    (version "0.6.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "neli" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "020m4axf6dd05i9l3lyhspp71s5xcmlj1cfskh6y3dywnm75alwh"))))
+        (base32 "0hzg86zg8rj14yklwm2r2yzg6w2wbnba8qfdpsrm0hb00sg2400i"))))
     (build-system cargo-build-system)
     (arguments
      `(#: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))))
+                       ("rust-neli-proc-macros" ,rust-neli-proc-macros-0.1)
+                       ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9)
+                                   ("rust-lazy-static" ,rust-lazy-static-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.5
+  (package
+    (inherit rust-neli-0.6)
+    (name "rust-neli")
+    (version "0.5.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "neli" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "020m4axf6dd05i9l3lyhspp71s5xcmlj1cfskh6y3dywnm75alwh"))))
+    (arguments
+     `(#: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))))))
+
 (define-public rust-neli-0.4
   (package
     (inherit rust-neli-0.5)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]