* gnu/packages/python.scm (python-ipaddress): New package. (python2-ipaddress): New package. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4f2eba2..c8d169a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10007,3 +10007,24 @@ List. Forked from and using the same API as the publicsuffix package.") (define-public python2-url (package-with-python2 python-url)) + +(define-public python-ipaddress + (package + (name "python-ipaddress") + (version "1.0.16") + (source (origin + (method url-fetch) + (uri (pypi-uri "ipaddress" version)) + (sha256 + (base32 + "1c3imabdrw8nfksgjjflzg7h4ynjckqacb188rf541m74arq4cas")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/phihag/ipaddress") + (synopsis "IPv4/IPv6 manipulation library") + (description "IPv4/IPv6 manipulation library.") + (license license:psfl))) + +(define-public python2-ipaddress + (package-with-python2 python-ipaddress)) -- 2.9.0