mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
Merge pull request #302149 from r-ryantm/auto-update/python311Packages.ping3
python311Packages.ping3: 4.0.5 -> 4.0.7
This commit is contained in:
commit
14ac570560
@ -1,32 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, setuptools
|
||||
, wheel
|
||||
, fetchPypi
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ping3";
|
||||
version = "4.0.5";
|
||||
format = "pyproject";
|
||||
version = "4.0.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-HwkYXokyFDZSSZayEtID08q1rSJofedGRXDxx/udwFE=";
|
||||
hash = "sha256-uO2ObCZvizdGSrobagC6GDh116z5q5yIH9P8PcvpCi8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# Tests require additional permissions
|
||||
doCheck = false;
|
||||
|
||||
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";
|
||||
description = "ICMP ping implementation using raw socket";
|
||||
homepage = "https://github.com/kyan001/ping3";
|
||||
changelog = "https://github.com/kyan001/ping3/blob/master/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
mainProgram = "ping3";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user