unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66257] [PATCH] Add python-icmplib.
@ 2023-09-28 12:34 Wicki Gabriel (wicg)
  2023-10-14 13:36 ` bug#66257: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Wicki Gabriel (wicg) @ 2023-09-28 12:34 UTC (permalink / raw)
  To: 66257


[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]

Add the python equivalent of the ICMP utilities (ping and similar).

--
Gabriel Wicki
Research Assistant

ZHAW, Zurich University of Applied Sciences
InES, Institute of Embedded Systems
High Integrity Systems Group

Technikumstrasse 22, Postfach
CH-8401 Winterthur
--
E-Mail: wicg@zhaw.ch
Web: http://ines.zhaw.ch

[-- Attachment #1.2: Type: text/html, Size: 2941 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-icmplib.patch --]
[-- Type: text/x-patch; name="0001-gnu-Add-python-icmplib.patch", Size: 1642 bytes --]

From 8a28765a75fd4459056c2d3baace28d9a2e5ced4 Mon Sep 17 00:00:00 2001
Message-ID: <8a28765a75fd4459056c2d3baace28d9a2e5ced4.1695904452.git.wicg@zhaw.ch>
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Thu, 28 Sep 2023 14:25:44 +0200
Subject: [PATCH] gnu: Add python-icmplib.

* gnu/packages/python-xyz.scm (python-icmplib): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index be03c2a7da..18660ebf20 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1802,6 +1802,28 @@ (define-public python-scapy
 attacks or network discovery.")
     (license license:gpl2)))
 
+(define-public python-icmplib
+  (package
+    (name "python-icmplib")
+    (version "3.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "icmplib" version))
+       (sha256
+        (base32 "1yssh1bsymlcwmvfag47wg1x9axl6i0zwzywxv1abzz0ndmdmyz4"))))
+    (arguments
+     '(#:tests? #f)) ;test data not present
+    (build-system python-build-system)
+    (home-page "https://github.com/ValentinBELYN/icmplib")
+    (synopsis
+     "Python implementation of the Internet Control Message Protocol (ICMP)")
+    (description
+     "@code{icmplib} is a supporting library for both IPv4 and IPv6 networks.
+ICMP is typically used for diagnostic or control purposes - well known from
+utilities such as ping(1).")
+    (license license:lgpl3)))
+
 (define-public python-rasterio
   (package
     (name "python-rasterio")

base-commit: 3963fa1a465708690cd1554d911613f1c92f5eef
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#66257: [PATCH] Add python-icmplib.
  2023-09-28 12:34 [bug#66257] [PATCH] Add python-icmplib Wicki Gabriel (wicg)
@ 2023-10-14 13:36 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2023-10-14 13:36 UTC (permalink / raw)
  To: Wicki Gabriel (wicg); +Cc: 66257-done


> +(define-public python-icmplib

Applied, thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-14 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-28 12:34 [bug#66257] [PATCH] Add python-icmplib Wicki Gabriel (wicg)
2023-10-14 13:36 ` bug#66257: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).