9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
31 lines
608 B
Nix
31 lines
608 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, setuptools
|
|
, wheel
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ping3";
|
|
version = "4.0.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-HqEqz2dS1GZmFjQf18Y5PGZM/8UQxpPvBvc2+yZ6E7o=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
pythonImportsCheck = [ "ping3" ];
|
|
|
|
meta = with lib; {
|
|
description = "A pure python3 version of ICMP ping implementation using raw socket";
|
|
homepage = "https://pypi.org/project/ping3";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siraben ];
|
|
};
|
|
}
|