1{ lib
2, buildPythonPackage
3, setuptools
4, wheel
5, fetchPypi
6}:
7
8buildPythonPackage rec {
9 pname = "ping3";
10 version = "4.0.4";
11 format = "pyproject";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-HqEqz2dS1GZmFjQf18Y5PGZM/8UQxpPvBvc2+yZ6E7o=";
16 };
17
18 nativeBuildInputs = [
19 setuptools
20 wheel
21 ];
22
23 pythonImportsCheck = [ "ping3" ];
24
25 meta = with lib; {
26 description = "A pure python3 version of ICMP ping implementation using raw socket";
27 homepage = "https://pypi.org/project/ping3";
28 license = licenses.mit;
29 maintainers = with maintainers; [ siraben ];
30 };
31}