luminaut: init at 0.13.2 (#474283)
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
nmap,
|
||||
python3,
|
||||
whatweb,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "luminaut";
|
||||
version = "0.13.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "luminaut-org";
|
||||
repo = "luminaut";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-TPb/Rk1cLCwItfsv/R2qyixCXA8aNnltiGePjdpO6GM=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
build-system = with python3.pkgs; [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
nmap
|
||||
whatweb
|
||||
]
|
||||
++ (with python3.pkgs; [
|
||||
boto3
|
||||
google-cloud-compute
|
||||
google-cloud-logging
|
||||
google-cloud-run
|
||||
orjson
|
||||
python3-nmap
|
||||
rich
|
||||
shodan
|
||||
tqdm
|
||||
]);
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
moto
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "luminaut" ];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require setting a region
|
||||
"test_explore_region"
|
||||
"test_list_security_group_rules"
|
||||
"test_setup_client_region"
|
||||
"test_skip_resource"
|
||||
"test_discover_public_ips_only_runs_if_aws_enabled"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Tool to detect exposure of resources deployed in AWS";
|
||||
homepage = "https://github.com/luminaut-org/luminaut";
|
||||
changelog = "https://github.com/luminaut-org/luminaut/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "luminaut";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
google-api-core,
|
||||
google-auth,
|
||||
grpc-google-iam-v1,
|
||||
grpcio,
|
||||
proto-plus,
|
||||
protobuf,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-run";
|
||||
version = "0.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "google_cloud_run";
|
||||
inherit version;
|
||||
hash = "sha256-l1NK1206LCBH0STAoKKUpIIvzCQzHroPKUyt+xk8Sa0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
google-api-core
|
||||
google-auth
|
||||
grpc-google-iam-v1
|
||||
grpcio
|
||||
proto-plus
|
||||
protobuf
|
||||
];
|
||||
|
||||
# Tests are only available in the google-cloud-python monorepo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.run" ];
|
||||
|
||||
meta = {
|
||||
description = "Google Cloud Run API client library";
|
||||
homepage = "https://pypi.org/project/google-cloud-run/";
|
||||
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-cloud-run-v${version}/packages/google-cloud-run/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
simplejson,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python3-nmap";
|
||||
version = "1.9.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nmmapper";
|
||||
repo = "python3-nmap";
|
||||
tag = version;
|
||||
hash = "sha256-d/rH3aRNh9SDyVvbiTFCQyfZ6amtnH2iSwKqTOlVLNY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ simplejson ];
|
||||
|
||||
pythonImportsCheck = [ "nmap3" ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Library which helps in using nmap port scanner";
|
||||
homepage = "https://github.com/nmmapper/python3-nmap";
|
||||
changelog = "https://github.com/nmmapper/python3-nmap/releases/tag/${src.tag}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -6328,6 +6328,8 @@ self: super: with self; {
|
||||
callPackage ../development/python-modules/google-cloud-resource-manager
|
||||
{ };
|
||||
|
||||
google-cloud-run = callPackage ../development/python-modules/google-cloud-run { };
|
||||
|
||||
google-cloud-runtimeconfig =
|
||||
callPackage ../development/python-modules/google-cloud-runtimeconfig
|
||||
{ };
|
||||
@@ -15615,6 +15617,8 @@ self: super: with self; {
|
||||
|
||||
python3-gnutls = callPackage ../development/python-modules/python3-gnutls { };
|
||||
|
||||
python3-nmap = callPackage ../development/python-modules/python3-nmap { };
|
||||
|
||||
python3-openid = callPackage ../development/python-modules/python3-openid { };
|
||||
|
||||
python3-saml = callPackage ../development/python-modules/python3-saml { };
|
||||
|
||||
Reference in New Issue
Block a user