Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ping3 / default.nix
blob52f780cfad93430226aa98f1f6c61b3d14ff3a3c
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "ping3";
12   version = "4.0.8";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-mrRg61fwBrcfl3ppPRVyFaq9a7y8bNZCi2lR6q4MKHU=";
20   };
22   build-system = [ setuptools ];
24   # Tests require additional permissions
25   doCheck = false;
27   pythonImportsCheck = [ "ping3" ];
29   meta = with lib; {
30     description = "ICMP ping implementation using raw socket";
31     homepage = "https://github.com/kyan001/ping3";
32     changelog = "https://github.com/kyan001/ping3/blob/master/CHANGELOG.md";
33     license = licenses.mit;
34     maintainers = with maintainers; [ siraben ];
35     mainProgram = "ping3";
36   };