croc: 10.1.1 -> 10.1.3 (#364662)
[NixPkgs.git] / pkgs / development / python-modules / ping3 / default.nix
blob548e38c388d5512dea66c088553d5572e5bc85eb
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "ping3";
11   version = "4.0.8";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-mrRg61fwBrcfl3ppPRVyFaq9a7y8bNZCi2lR6q4MKHU=";
19   };
21   build-system = [ setuptools ];
23   # Tests require additional permissions
24   doCheck = false;
26   pythonImportsCheck = [ "ping3" ];
28   meta = with lib; {
29     description = "ICMP ping implementation using raw socket";
30     homepage = "https://github.com/kyan001/ping3";
31     changelog = "https://github.com/kyan001/ping3/blob/master/CHANGELOG.md";
32     license = licenses.mit;
33     maintainers = with maintainers; [ siraben ];
34     mainProgram = "ping3";
35   };