unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Wicki Gabriel (wicg)" <wicg@zhaw.ch>
To: 66257@debbugs.gnu.org
Subject: [bug#66257] [PATCH] Add python-icmplib.
Date: Thu, 28 Sep 2023 12:34:44 +0000	[thread overview]
Message-ID: <ZR0P278MB0268A9B1B8810E9F597D186AC1C1A@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM> (raw)


[-- 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


             reply	other threads:[~2023-09-28 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-28 12:34 Wicki Gabriel (wicg) [this message]
2023-10-14 13:36 ` bug#66257: [PATCH] Add python-icmplib Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZR0P278MB0268A9B1B8810E9F597D186AC1C1A@ZR0P278MB0268.CHEP278.PROD.OUTLOOK.COM \
    --to=wicg@zhaw.ch \
    --cc=66257@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).