~ruther/guix-local

72573dd179cec214d7e4d4be4c703f478e6ff1bf — Nicolas Graves 2 months ago 910d808
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>
1 files changed, 14 insertions(+), 10 deletions(-)

M gnu/packages/networking.scm
M gnu/packages/networking.scm => gnu/packages/networking.scm +14 -10
@@ 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