Merge pull request #303995 from fabaff/cloud-custodian-refactor
cloud-custodian: 0.8.45.1 -> 0.9.35.0
This commit is contained in:
commit
447fe49981
2 changed files with 30 additions and 21 deletions
|
@ -1,34 +1,42 @@
|
||||||
{ lib, buildPythonApplication, fetchPypi
|
{
|
||||||
, argcomplete
|
lib,
|
||||||
, boto3
|
python3,
|
||||||
, botocore
|
fetchFromGitHub,
|
||||||
, certifi
|
|
||||||
, python-dateutil
|
|
||||||
, jsonpatch
|
|
||||||
, jsonschema
|
|
||||||
, pyyaml
|
|
||||||
, tabulate
|
|
||||||
, urllib3
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "cloud-custodian";
|
pname = "cloud-custodian";
|
||||||
version = "0.8.45.1";
|
version = "0.9.35.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
pname = "c7n";
|
owner = "cloud-custodian";
|
||||||
inherit version;
|
repo = "cloud-custodian";
|
||||||
sha256 = "0c199gdmpm83xfghrbzp02xliyxiygsnx2fvb35j9qpf37wzzp3z";
|
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
|
argcomplete
|
||||||
boto3
|
boto3
|
||||||
botocore
|
botocore
|
||||||
certifi
|
certifi
|
||||||
python-dateutil
|
docutils
|
||||||
|
importlib-metadata
|
||||||
jsonpatch
|
jsonpatch
|
||||||
jsonschema
|
jsonschema
|
||||||
|
python-dateutil
|
||||||
pyyaml
|
pyyaml
|
||||||
tabulate
|
tabulate
|
||||||
urllib3
|
urllib3
|
||||||
|
@ -41,9 +49,10 @@ buildPythonApplication rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Rules engine for cloud security, cost optimization, and governance";
|
description = "Rules engine for cloud security, cost optimization, and governance";
|
||||||
mainProgram = "custodian";
|
|
||||||
homepage = "https://cloudcustodian.io";
|
homepage = "https://cloudcustodian.io";
|
||||||
|
changelog = "https://github.com/cloud-custodian/cloud-custodian/releases/tag/${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ bhipple ];
|
maintainers = with maintainers; [ bhipple ];
|
||||||
|
mainProgram = "custodian";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3634,7 +3634,7 @@ with pkgs;
|
||||||
|
|
||||||
claws = callPackage ../tools/misc/claws { };
|
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;
|
coconut = with python3Packages; toPythonApplication coconut;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue