diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-04 00:56:41 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-04 08:32:22 +0100 |
| commit | d1871891b0c438dee2e04830670fd44b5d1e0fc1 (patch) | |
| tree | 873a153038cf096d1a1396033474de3272ce62ef /gnu | |
| parent | b81d4da93ad900dfde3e9ef85450067fd09e7b98 (diff) | |
gnu: python-icmplib: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-icmplib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: I17f16b2a2a0d56daab38d247ad9fb928426ac965
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c5474564441..a319fdacca9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4323,13 +4323,16 @@ attacks or network discovery.") (version "3.0.4") (source (origin - (method url-fetch) - (uri (pypi-uri "icmplib" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/ValentinBELYN/icmplib") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1phnlgbb5di79ijm55pyd5jj1ggss4b6nn6mw701h501vcn8z1jp")))) - (arguments - '(#:tests? #f)) ;test data not present - (build-system python-build-system) + (base32 "04h877ryg22vsgvq35dqwpf0b1v8hvfl2gc857zxqzig4ld5qw1y")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests. + (native-inputs (list python-setuptools)) (home-page "https://github.com/ValentinBELYN/icmplib") (synopsis "Python implementation of the Internet Control Message Protocol (ICMP)") |
