gnu: Add python-ifaddr.

* gnu/packages/python-xyz.scm (python-ifaddr): New variable.
This commit is contained in:
Brendan Tildesley 2021-02-25 12:46:42 +11:00 committed by Leo Famulari
parent 586f017d98
commit 944640f3ee
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -43,7 +43,7 @@
;;; Copyright © 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com> ;;; Copyright © 2017 Muriithi Frederick Muriuki <fredmanglis@gmail.com>
;;; Copyright © 2017, 2019 Brendan Tildesley <mail@brendan.scot> ;;; Copyright © 2017, 2019, 2021 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com ;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com> ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com> ;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
@ -20988,6 +20988,31 @@ (define-public python-pylzma
(define-public python2-pylzma (define-public python2-pylzma
(package-with-python2 python-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 "Network interface and IP address enumeration library")
(description "This package provides a network interface and IP address
enumeration library in Python.")
(license license:expat)))
(define-public python2-zeroconf (define-public python2-zeroconf
(package (package
(name "python2-zeroconf") (name "python2-zeroconf")