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
This commit is contained in:
parent
d2702bfbc1
commit
20ebd5f9bb
1
pkgs/by-name/cl/cloudcheck/package.nix
Normal file
1
pkgs/by-name/cl/cloudcheck/package.nix
Normal file
@ -0,0 +1 @@
|
||||
{ python3Packages }: with python3Packages; toPythonApplication cloudcheck
|
54
pkgs/development/python-modules/cloudcheck/default.nix
Normal file
54
pkgs/development/python-modules/cloudcheck/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2626,6 +2626,8 @@ self: super: with self; {
|
||||
|
||||
clldutils = callPackage ../development/python-modules/clldutils { };
|
||||
|
||||
cloudcheck = callPackage ../development/python-modules/cloudcheck { };
|
||||
|
||||
cloudevents = callPackage ../development/python-modules/cloudevents { };
|
||||
|
||||
cloudflare = callPackage ../development/python-modules/cloudflare { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user