Fabian Affolter 20ebd5f9bb python313Packages.cloudcheck: init at 7.2.11
Module to check whether an IP address or hostname belongs to
popular cloud providers

https://github.com/blacklanternsecurity/cloudcheck
2025-07-05 10:39:04 +02:00

55 lines
1.0 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
httpx,
poetry-core,
poetry-dynamic-versioning,
pydantic,
pytest-asyncio,
pytestCheckHook,
radixtarget,
regex,
}:
buildPythonPackage rec {
pname = "cloudcheck";
version = "7.2.11";
pyproject = true;
src = fetchFromGitHub {
owner = "blacklanternsecurity";
repo = "cloudcheck";
tag = "v${version}";
hash = "sha256-z2KJ6EaqQLc2oQBZCfKMejPlTdgYGzmDPm/rGLHXCQA=";
};
pythonRelaxDeps = [ "radixtarget" ];
build-system = [
poetry-core
poetry-dynamic-versioning
];
dependencies = [
httpx
pydantic
radixtarget
regex
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "cloudcheck" ];
meta = {
description = "Module to check whether an IP address or hostname belongs to popular cloud providers";
homepage = "https://github.com/blacklanternsecurity/cloudcheck";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}