Files
nixpkgs/pkgs/development/python-modules/icmplib/default.nix
T
2026-02-06 00:48:41 +01:00

30 lines
642 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "icmplib";
version = "3.0.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "ValentinBELYN";
repo = "icmplib";
rev = "v${version}";
hash = "sha256-PnBcGiUvftz/KYg9Qd2GaIcF3OW4lYH301uI5/M5CBI=";
};
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "icmplib" ];
meta = {
description = "Python implementation of the ICMP protocol";
homepage = "https://github.com/ValentinBELYN/icmplib";
license = with lib.licenses; [ lgpl3Plus ];
maintainers = with lib.maintainers; [ fab ];
};
}