gnu: python-ipy: Switch to pyproject.

* gnu/packages/networking.scm (python-ipy):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools.
[description]: Improve style.

Change-Id: Id2b1673321af264fad84008f4029bfab3362379c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-28 22:25:55 +01:00 committed by Sharlatan Hellseher
parent 910d808ae5
commit 72573dd179
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3275,18 +3275,22 @@ IPFIX, RSPAN, CLI, LACP, 802.1ag).")
(package
(name "python-ipy")
(version "1.01")
(source (origin
(method url-fetch)
(uri (pypi-uri "IPy" version))
(sha256
(base32
"06nclwafzsbi8ls019ry1xnfhgwc5103g8lgav54mmd2vr0sgv7d"))))
(build-system python-build-system)
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/autocracy/python-ipy/")
(commit (string-append "IPy-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "106rirmirlpb5ppznn3fd8189a8z02zf99jvk6j4hcq05ajclfc6"))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/autocracy/python-ipy/")
(synopsis "Python class and tools for handling IP addresses and networks")
(description "The @code{IP} class allows a comfortable parsing and
handling for most notations in use for IPv4 and IPv6 addresses and
networks.")
(description
"The @code{IP} class allows a comfortable parsing and handling for most
notations in use for IPv4 and IPv6 addresses and networks.")
(license license:bsd-3)))
(define-public speedtest-cli