guix-commits
[Top][All Lists]
Advanced

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

196/330: gnu: Add rust-pnet-sys-0.34.


From: guix-commits
Subject: 196/330: gnu: Add rust-pnet-sys-0.34.
Date: Mon, 18 Mar 2024 07:16:08 -0400 (EDT)

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

commit a258aab4473694d6fb3e69d1f725eb2b2978bd0c
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:50 2024 +0100

    gnu: Add rust-pnet-sys-0.34.
    
    * gnu/packages/crates-io.scm (rust-pnet-sys-0.34): Add variable.
    (rust-pnet-sys-0.27): Inherit rust-pnet-sys-0.34.
    
    Change-Id: I00cfe081f4414616c7524af5093ebd639c8cd37f
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d090b7bc9c..7ca7b38f93 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50181,29 +50181,41 @@ both WASM and native applications")
      "This crate implements cross-platform, datalink layer networking.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-pnet-sys-0.27
+(define-public rust-pnet-sys-0.34
   (package
     (name "rust-pnet-sys")
-    (version "0.27.2")
+    (version "0.34.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "pnet_sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))
+        (base32 "004d28vbaxv3m55cd741mpjm34031c3p2dpp8kazcwxms7n0nz21"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f  ; Tries to use sockets.
-       #:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))))
+       #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-winapi" ,rust-winapi-0.3))))
     (home-page "https://github.com/libpnet/libpnet";)
     (synopsis "Access to network related system functions")
     (description
      "This crate providess access to network related system function and 
calls.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pnet-sys-0.27
+  (package
+    (inherit rust-pnet-sys-0.34)
+    (name "rust-pnet-sys")
+    (version "0.27.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pnet_sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05gz5xixzvs5iw7a3l0r7sic7s44x8xmv9pqvzzs6wpdwz2f92bm"))))))
+
 (define-public rust-pocket-resources-0.3
   (package
     (name "rust-pocket-resources")



reply via email to

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