Subject: [PATCH 07/27] gnu: Add python-ifaddr.

From: Brendan Tildesley <[email-masked]>
Date: Wed, 10 Mar 2021 20:00:33 +1100

* gnu/packages/python-xyz.scm (python-ifaddr): New variable.
---
 gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b1ac3e2e3b..f6bb57d518 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -43,7 +43,7 @@
 ;;; Copyright © 2017, 2018, 2019 Kei Kebreau <[email-masked]>
 ;;; Copyright © 2017 Rutger Helling <[email-masked]>
 ;;; Copyright © 2017 Muriithi Frederick Muriuki <[email-masked]>
-;;; Copyright © 2017, 2019 Brendan Tildesley <[email-masked]>
+;;; Copyright © 2017, 2019, 2021 Brendan Tildesley <[email-masked]>
 ;;; Copyright © 2018 Ethan R. Jones <[email-masked]
 ;;; Copyright © 2018 Fis Trivial <[email-masked]>
 ;;; Copyright © 2018 Vijayalakshmi Vedantham <[email-masked]>
@@ -20684,6 +20684,32 @@ by Igor Pavlov.")
 (define-public python2-pylzma
   (package-with-python2 python-pylzma))
 
+(define-public python-ifaddr
+  (package
+    (name "python-ifaddr")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ifaddr" version))
+       (sha256
+        (base32
+         "150sxdlicwrphmhnv03ykxplyd2jdrxz0mikgnivavgilrn8m7hz"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (invoke "nosetests"))))))
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page "https://github.com/pydron/ifaddr")
+    (synopsis
+     "Cross-platform network interface and IP address enumeration library")
+    (description
+     "Cross-platform network interface and IP address enumeration library")
+    (license license:expat)))
+
 (define-public python2-zeroconf
   (package
     (name "python2-zeroconf")
-- 
2.30.1