Merge pull request #303995 from fabaff/cloud-custodian-refactor

cloud-custodian: 0.8.45.1 -> 0.9.35.0
This commit is contained in:
Franz Pletz 2024-04-15 07:49:06 +02:00 committed by GitHub
commit 447fe49981
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 21 deletions

View File

@ -1,34 +1,42 @@
{ lib, buildPythonApplication, fetchPypi
, argcomplete
, boto3
, botocore
, certifi
, python-dateutil
, jsonpatch
, jsonschema
, pyyaml
, tabulate
, urllib3
{
lib,
python3,
fetchFromGitHub,
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "cloud-custodian";
version = "0.8.45.1";
version = "0.9.35.0";
pyproject = true;
src = fetchPypi {
pname = "c7n";
inherit version;
sha256 = "0c199gdmpm83xfghrbzp02xliyxiygsnx2fvb35j9qpf37wzzp3z";
src = fetchFromGitHub {
owner = "cloud-custodian";
repo = "cloud-custodian";
rev = "refs/tags/${version}";
hash = "sha256-iiyYtAtAQKTGrXdIPXGs11QWuPWn+IWmXpjmYO5S6Pg=";
};
propagatedBuildInputs = [
pythonRelaxDeps = [
"docutils"
"importlib-metadata"
"referencing"
"urllib3"
];
build-system = with python3.pkgs; [ poetry-core ];
nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ];
dependencies = with python3.pkgs; [
argcomplete
boto3
botocore
certifi
python-dateutil
docutils
importlib-metadata
jsonpatch
jsonschema
python-dateutil
pyyaml
tabulate
urllib3
@ -41,9 +49,10 @@ buildPythonApplication rec {
meta = with lib; {
description = "Rules engine for cloud security, cost optimization, and governance";
mainProgram = "custodian";
homepage = "https://cloudcustodian.io";
changelog = "https://github.com/cloud-custodian/cloud-custodian/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ bhipple ];
mainProgram = "custodian";
};
}

View File

@ -3634,7 +3634,7 @@ with pkgs;
claws = callPackage ../tools/misc/claws { };
cloud-custodian = python3Packages.callPackage ../tools/networking/cloud-custodian { };
cloud-custodian = callPackage ../tools/networking/cloud-custodian { };
coconut = with python3Packages; toPythonApplication coconut;