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