depot/third_party/nixpkgs/pkgs/development/python-modules/ping3/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

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 ];
};
}