azure-cli-extensions.confcom: init at 1.0.0

This commit is contained in:
miampf 2024-10-10 13:36:27 +02:00
parent 5e320bc4e7
commit c07681d357
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -8,6 +8,9 @@
mkAzExtension,
mycli,
python3Packages,
autoPatchelfHook,
python3,
openssl_1_1,
}:
{
@ -58,6 +61,26 @@
meta.maintainers = with lib.maintainers; [ mikut ];
};
confcom = mkAzExtension rec {
pname = "confcom";
version = "1.0.0";
url = "https://azcliprod.blob.core.windows.net/cli-extensions/confcom-${version}-py3-none-any.whl";
sha256 = "73823e10958a114b4aca84c330b4debcc650c4635e74c568679b6c32c356411d";
description = "Microsoft Azure Command-Line Tools Confidential Container Security Policy Generator Extension";
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [ openssl_1_1 ];
propagatedBuildInputs = with python3Packages; [
pyyaml
deepdiff
docker
tqdm
];
postInstall = ''
chmod +x $out/${python3.sitePackages}/azext_confcom/bin/genpolicy-linux
'';
meta.maintainers = with lib.maintainers; [ miampf ];
};
containerapp = mkAzExtension rec {
pname = "containerapp";
version = "1.0.0b1";