diff options
Diffstat (limited to 'pkgs/tools/admin/azure-cli')
-rwxr-xr-x | pkgs/tools/admin/azure-cli/commit-update-hunks.sh | 19 | ||||
-rw-r--r-- | pkgs/tools/admin/azure-cli/default.nix | 20 | ||||
-rw-r--r-- | pkgs/tools/admin/azure-cli/extensions-generated.nix | 212 | ||||
-rw-r--r-- | pkgs/tools/admin/azure-cli/extensions-manual.nix | 26 | ||||
-rw-r--r-- | pkgs/tools/admin/azure-cli/python-packages.nix | 21 |
5 files changed, 197 insertions, 101 deletions
diff --git a/pkgs/tools/admin/azure-cli/commit-update-hunks.sh b/pkgs/tools/admin/azure-cli/commit-update-hunks.sh new file mode 100755 index 0000000000000..7a9d913e260e7 --- /dev/null +++ b/pkgs/tools/admin/azure-cli/commit-update-hunks.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# Just a tiny imperfect helper script to commit generated updates. +# +# First, ensure that that `git add -p extensions-generated.nix` only +# returns a series of clean update hunks, where each hunk updates a +# single package version. All additions/removals must be committed +# by hand. +# The script will then commit the remaining hunks with fitting commit messages. + +while true; do + echo -e "y\nq" | git add -p extensions-generated.nix || break + pname=$(git diff --no-ext-diff --cached | grep "pname =" | cut -d'"' -f2 | head -n1) || break + versions=$(git diff --no-ext-diff --cached | grep "version =" | cut -d'"' -f2) || break + oldver=$(echo "$versions" | head -n1) || break + newver=$(echo "$versions" | tail -n1) || break + commitmsg="azure-cli-extensions.${pname}: ${oldver} -> ${newver}" + git commit -m "$commitmsg" +done diff --git a/pkgs/tools/admin/azure-cli/default.nix b/pkgs/tools/admin/azure-cli/default.nix index 49d3b6ffb139d..89bd83d23a1bf 100644 --- a/pkgs/tools/admin/azure-cli/default.nix +++ b/pkgs/tools/admin/azure-cli/default.nix @@ -18,14 +18,14 @@ }: let - version = "2.58.0"; + version = "2.61.0"; src = fetchFromGitHub { name = "azure-cli-${version}-src"; owner = "Azure"; repo = "azure-cli"; rev = "azure-cli-${version}"; - hash = "sha256-2KLjPzxtHeuH0/+Sge1wTmGimOiaTWr8EI+xkFBrPD0="; + hash = "sha256-RmCZigDenbX8OoIZeY087ga2AP8yRckyG0qZnN9gg44="; }; # put packages that needs to be overridden in the py package scope @@ -43,15 +43,15 @@ let }@args: python3.pkgs.buildPythonPackage ({ format = "wheel"; src = fetchurl { inherit url sha256; }; - meta = with lib; { + meta = { inherit description; inherit (azure-cli.meta) platforms maintainers; homepage = "https://github.com/Azure/azure-cli-extensions"; changelog = "https://github.com/Azure/azure-cli-extensions/blob/main/src/${pname}/HISTORY.rst"; license = lib.licenses.mit; - sourceProvenance = [ sourceTypes.fromSource ]; - }; - } // (removeAttrs args [ "url" "sha256" "description" ])); + sourceProvenance = [ lib.sourceTypes.fromSource ]; + } // args.meta or { }; + } // (removeAttrs args [ "url" "sha256" "description" "meta" ])); extensions = callPackages ./extensions-generated.nix { inherit mkAzExtension; } @@ -229,7 +229,11 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage rec { wcwidth websocket-client xmltodict - ]; + ] ++ lib.optionals (!withImmutableConfig) [ + # pip is required to install extensions locally, but it's not needed if + # we're using the default immutable configuration. + pip + ] ++ lib.concatMap (extension: extension.propagatedBuildInputs) withExtensions; postInstall = '' substituteInPlace az.completion.sh \ @@ -371,7 +375,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage rec { sourceProvenance = [ sourceTypes.fromSource ]; license = licenses.mit; mainProgram = "az"; - maintainers = with maintainers; [ jonringer ]; + maintainers = with maintainers; [ katexochen ]; platforms = platforms.all; }; }) diff --git a/pkgs/tools/admin/azure-cli/extensions-generated.nix b/pkgs/tools/admin/azure-cli/extensions-generated.nix index 8e872e7bba258..3baee14cdbcc4 100644 --- a/pkgs/tools/admin/azure-cli/extensions-generated.nix +++ b/pkgs/tools/admin/azure-cli/extensions-generated.nix @@ -57,9 +57,9 @@ }; aks-preview = mkAzExtension rec { pname = "aks-preview"; - version = "1.0.0b5"; + version = "5.0.0b1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-${version}-py2.py3-none-any.whl"; - sha256 = "75378ea07dea6fdadb115e41e8394003fd63282560648fa92d8f055f1e2536eb"; + sha256 = "2c0a6b1a952b30f10f36f744e214a03774016fe7834038b917b8bc0ef03ce0c9"; description = "Provides a preview for upcoming AKS features"; }; akshybrid = mkAzExtension rec { @@ -85,9 +85,9 @@ }; amg = mkAzExtension rec { pname = "amg"; - version = "1.2.9"; + version = "1.3.4"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/amg-${version}-py3-none-any.whl"; - sha256 = "dbea8dd0e85dd2f30f30cb66f0dd7f9d0314a7ff9765a4d074622b75aeccad2f"; + sha256 = "cf665da8629edfef5189eb2dd57d849d458f841cff83d2cad2a1b61104febf22"; description = "Microsoft Azure Command-Line Tools Azure Managed Grafana Extension"; }; amlfs = mkAzExtension rec { @@ -99,18 +99,25 @@ }; apic-extension = mkAzExtension rec { pname = "apic-extension"; - version = "1.0.0b4"; + version = "1.0.0b5"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/apic_extension-${version}-py3-none-any.whl"; - sha256 = "67294fd30190b66b339c8d550e58e1401117b313bea638fb0c126dec26249408"; + sha256 = "fbca1f8446013142d676159b8292fd7c2d3175f39e1baeb5c4d13f9637003254"; description = "Microsoft Azure Command-Line Tools ApicExtension Extension"; }; appservice-kube = mkAzExtension rec { pname = "appservice-kube"; - version = "0.1.9"; + version = "0.1.10"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/appservice_kube-${version}-py2.py3-none-any.whl"; - sha256 = "9107762296c67ef4035256a9790b075040f263804116a3f9a6866227ff6019ed"; + sha256 = "7fd72d27e4b0eceda3b2b4f301c7a0c3068fea8b96d70f9fcaad142240de7d0d"; description = "Microsoft Azure Command-Line Tools App Service on Kubernetes Extension"; }; + astronomer = mkAzExtension rec { + pname = "astronomer"; + version = "1.0.0"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/astronomer-${version}-py3-none-any.whl"; + sha256 = "b4ca41b5d9cb77aed2b462ded4a392ae3ce896ce8d9cb94a08671d0cb68176cd"; + description = "Microsoft Azure Command-Line Tools Astronomer Extension"; + }; authV2 = mkAzExtension rec { pname = "authV2"; version = "0.1.3"; @@ -127,9 +134,9 @@ }; automation = mkAzExtension rec { pname = "automation"; - version = "0.2.2"; + version = "1.0.0b1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/automation-${version}-py3-none-any.whl"; - sha256 = "1337a8bf90739df646231533801cce9050bad641c627382468c86af5f2f99d89"; + sha256 = "d31fe0433fa30a6e009f7b9bee6c417a686ed87502dd987b9ac8ad113383915b"; description = "Microsoft Azure Command-Line Tools AutomationClient Extension"; }; azure-firewall = mkAzExtension rec { @@ -162,9 +169,9 @@ }; bastion = mkAzExtension rec { pname = "bastion"; - version = "0.3.0"; + version = "1.0.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/bastion-${version}-py3-none-any.whl"; - sha256 = "c20d8e423acef3b6728c9abdfe90ad4a7020f2d122068983d7b59b9e3fef84c3"; + sha256 = "39b1468f0741f640294e2b9f258bf9fd46541e061b913003c70756f5298fed42"; description = "Microsoft Azure Command-Line Tools Bastion Extension"; }; billing-benefits = mkAzExtension rec { @@ -174,13 +181,6 @@ sha256 = "f71250d1c26690cc0e175cd5c9bcd59e76c7b701bb3a47c8273e4cf8bcca878e"; description = "Microsoft Azure Command-Line Tools BillingBenefits Extension"; }; - blockchain = mkAzExtension rec { - pname = "blockchain"; - version = "0.1.1"; - url = "https://azcliprod.blob.core.windows.net/cli-extensions/blockchain-${version}-py3-none-any.whl"; - sha256 = "95a4788ab10052f6c1b4122db6ab140705db528e5cb3db3358580d703a2a7204"; - description = "Microsoft Azure Command-Line Tools BlockchainManagementClient Extension"; - }; blueprint = mkAzExtension rec { pname = "blueprint"; version = "0.3.2"; @@ -202,6 +202,13 @@ sha256 = "9ea6162d37fc3390be4dce64cb05c5c588070104f3e92a701ab475473565a8a9"; description = "Translate ARM template to executable Azure CLI scripts"; }; + compute-diagnostic-rp = mkAzExtension rec { + pname = "compute-diagnostic-rp"; + version = "1.0.0b1"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/compute_diagnostic_rp-${version}-py3-none-any.whl"; + sha256 = "810e93ce00c7d03df6da9a0faf57b966fb6da582311f9cae74b2b7e1e3c41423"; + description = "Microsoft Azure Command-Line Tools ComputeDiagnosticRp Extension"; + }; confidentialledger = mkAzExtension rec { pname = "confidentialledger"; version = "1.0.0"; @@ -211,23 +218,23 @@ }; confluent = mkAzExtension rec { pname = "confluent"; - version = "0.4.0"; + version = "0.6.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/confluent-${version}-py3-none-any.whl"; - sha256 = "7b812940a77094bc916c745a61b7732966de4e7943a7541c0a402c0d912bc6af"; + sha256 = "7987d22e0e9cada28087a900bfa534865531941f2bbfe967eb46c90b2e0a12be"; description = "Microsoft Azure Command-Line Tools ConfluentManagementClient Extension"; }; connectedmachine = mkAzExtension rec { pname = "connectedmachine"; - version = "0.7.0"; + version = "1.0.0b1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/connectedmachine-${version}-py3-none-any.whl"; - sha256 = "792975ebf0260767481b2ffab0aa3154509c55a9ab60c7f987c3fdead726cd82"; + sha256 = "f829b171bc489bd1bffea518040acc74608581dae798f4b23bedfe8bf7445383"; description = "Microsoft Azure Command-Line Tools ConnectedMachine Extension"; }; connectedvmware = mkAzExtension rec { pname = "connectedvmware"; - version = "0.2.4"; + version = "1.1.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/connectedvmware-${version}-py2.py3-none-any.whl"; - sha256 = "8a96c790317dfee523d548c28a51191746ff3b45ede4fee56e804d195de437f6"; + sha256 = "d2122c64426853a4b3b766160f6291f29aed66d9aa266585c73d63305ed4d22b"; description = "Microsoft Azure Command-Line Tools Connectedvmware Extension"; }; connection-monitor-preview = mkAzExtension rec { @@ -239,9 +246,9 @@ }; cosmosdb-preview = mkAzExtension rec { pname = "cosmosdb-preview"; - version = "0.26.0"; + version = "1.0.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/cosmosdb_preview-${version}-py2.py3-none-any.whl"; - sha256 = "c761a022fa8e849534d51bb51c6b6a7c01b541a5f018532f7fe312f74f689b06"; + sha256 = "3a5910873138adf747ba8baed7be180981a74569c86c927ea6f1ae39d3de53bf"; description = "Microsoft Azure Command-Line Tools Cosmosdb-preview Extension"; }; costmanagement = mkAzExtension rec { @@ -295,23 +302,23 @@ }; datafactory = mkAzExtension rec { pname = "datafactory"; - version = "1.0.0"; + version = "1.0.2"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/datafactory-${version}-py3-none-any.whl"; - sha256 = "30941f7e2c093f040c958db024367b750068a5181554b23f7403f4522375c41e"; + sha256 = "ea134e2963b7cdf2bcbd50244a6f1a411da77bd4db7e42c8c8f9651638c82ac7"; description = "Microsoft Azure Command-Line Tools DataFactoryManagementClient Extension"; }; datamigration = mkAzExtension rec { pname = "datamigration"; - version = "0.6.1"; + version = "1.0.0b1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/datamigration-${version}-py3-none-any.whl"; - sha256 = "4a07a5272762f8f53f9fe61b295a800e63c0ea2900a29a526df2eabbe732bca7"; + sha256 = "9d1ac8c7046e23387696561747be2e8f62e879a4a305f8b20ccd19460a29db0d"; description = "Microsoft Azure Command-Line Tools DataMigrationManagementClient Extension"; }; dataprotection = mkAzExtension rec { pname = "dataprotection"; - version = "0.11.2"; + version = "1.5.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/dataprotection-${version}-py3-none-any.whl"; - sha256 = "ce31a7bb0c939d6eb6d71971f89441abaee172a3ba5b74dae0ebe88e4a8f5300"; + sha256 = "5d756d16607364bb98325d2f63580f115a9f8a6bf9c9a74d55c2af2d9a485833"; description = "Microsoft Azure Command-Line Tools DataProtectionClient Extension"; }; datashare = mkAzExtension rec { @@ -330,10 +337,10 @@ }; desktopvirtualization = mkAzExtension rec { pname = "desktopvirtualization"; - version = "0.2.0"; + version = "1.0.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/desktopvirtualization-${version}-py3-none-any.whl"; - sha256 = "6de28d6be58dd65ad8f25a9fa084676c54684f00f9938f5db7d0392282783e04"; - description = "Microsoft Azure Command-Line Tools DesktopVirtualizationAPIClient Extension"; + sha256 = "3a1e7a8f0e579fa21fed770859b21c23bec8b8489d834a61411695a9a90c7cd4"; + description = "Microsoft Azure Command-Line Tools Desktopvirtualization Extension"; }; dev-spaces = mkAzExtension rec { pname = "dev-spaces"; @@ -344,9 +351,9 @@ }; devcenter = mkAzExtension rec { pname = "devcenter"; - version = "5.0.0"; + version = "6.0.1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/devcenter-${version}-py3-none-any.whl"; - sha256 = "873ce4ec274710a361ba2a6bf93d8820949d955bf4386881d9a37ed87bb0d054"; + sha256 = "25e3dcdc9cb83243ceb2ed6a6dedc227953c06cb610ba95c84ddec0f7503224f"; description = "Microsoft Azure Command-Line Tools DevCenter Extension"; }; diskpool = mkAzExtension rec { @@ -391,6 +398,13 @@ sha256 = "186a06d0f8603f7e0faeed5296ecc73bf1096e0d681acea42d5ebccc1670357b"; description = "Microsoft Azure Command-Line Tools EdgeOrderManagementClient Extension"; }; + edgezones = mkAzExtension rec { + pname = "edgezones"; + version = "1.0.0b1"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/edgezones-${version}-py3-none-any.whl"; + sha256 = "98f1b962dcbb078cfb8cd12d40a58d01bcc37db441570f84e293ba0ba52c6c08"; + description = "Microsoft Azure Command-Line Tools Edgezones Extension"; + }; elastic = mkAzExtension rec { pname = "elastic"; version = "1.0.0b2"; @@ -419,11 +433,18 @@ sha256 = "b83f723baae0ea04557a87f358fa2131baf15d45cd3aba7a9ab42d14ec80df38"; description = "Manage customer ExpressRoute circuits using an ExpressRoute cross-connection"; }; + firmwareanalysis = mkAzExtension rec { + pname = "firmwareanalysis"; + version = "1.0.0"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/firmwareanalysis-${version}-py3-none-any.whl"; + sha256 = "1c3df1441de76edb08bed05ac279dd2b02bd6fab68a0b9a495dfd7ecce3e92cb"; + description = "Microsoft Azure Command-Line Tools Firmwareanalysis Extension"; + }; fleet = mkAzExtension rec { pname = "fleet"; - version = "1.0.3"; + version = "1.1.2"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/fleet-${version}-py3-none-any.whl"; - sha256 = "cd93b819d0a8c1ab50f4aec00b31623fd01040362c4cd633a89ba03fc894eb73"; + sha256 = "d0d2cf188da6a2f72ebc335d1ff82827c84a4965e23188e3408c85b90e2131dc"; description = "Microsoft Azure Command-Line Tools Fleet Extension"; }; fluid-relay = mkAzExtension rec { @@ -442,9 +463,9 @@ }; front-door = mkAzExtension rec { pname = "front-door"; - version = "1.0.17"; + version = "1.1.1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/front_door-${version}-py3-none-any.whl"; - sha256 = "20996a4d864963451572b71fecf4906f3e7fe8f403a651a1d1e98363df63d095"; + sha256 = "3f3dd05dd0fce357dd0c7c6ba886a7f1bb37096a0d2d5dc0decf057431819ea4"; description = "Manage networking Front Doors"; }; fzf = mkAzExtension rec { @@ -454,6 +475,13 @@ sha256 = "84abeed03b4bbfa7b8c0be08d9366ff3040e2160df4f5a539f0e1c9e0a1c359c"; description = "Microsoft Azure Command-Line Tools fzf Extension"; }; + gallery-service-artifact = mkAzExtension rec { + pname = "gallery-service-artifact"; + version = "1.0.0b1"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/gallery_service_artifact-${version}-py3-none-any.whl"; + sha256 = "3f30e3e8e7e678fd9ab91b2261fb918a303cd382626509d3f00e86f1967750c6"; + description = "Microsoft Azure Command-Line Tools GalleryServiceArtifact Extension"; + }; graphservices = mkAzExtension rec { pname = "graphservices"; version = "1.0.0b1"; @@ -484,9 +512,9 @@ }; hdinsightonaks = mkAzExtension rec { pname = "hdinsightonaks"; - version = "1.0.0b1"; + version = "1.0.0b2"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/hdinsightonaks-${version}-py3-none-any.whl"; - sha256 = "566c30d67d6b524ac25f77342121e0e7a6ed4ab0af561fcc6e94b0629a03f40c"; + sha256 = "c323291952f9ec6014af5f760b26860bd8029aa04cc226fd5996f20726641c59"; description = "Microsoft Azure Command-Line Tools Hdinsightonaks Extension"; }; healthbot = mkAzExtension rec { @@ -554,9 +582,9 @@ }; k8s-extension = mkAzExtension rec { pname = "k8s-extension"; - version = "1.6.0"; + version = "1.6.1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/k8s_extension-${version}-py3-none-any.whl"; - sha256 = "27a9996a9ace11856f37719ae697f0ac98d368dde6eb8648d111aafc136599a7"; + sha256 = "41861d65b9d86e0b622986a4984ce7a611f87b92da578db8c0527ec74334f32c"; description = "Microsoft Azure Command-Line Tools K8s-extension Extension"; }; kusto = mkAzExtension rec { @@ -596,9 +624,9 @@ }; maintenance = mkAzExtension rec { pname = "maintenance"; - version = "1.5.0"; + version = "1.6.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/maintenance-${version}-py3-none-any.whl"; - sha256 = "4f1336fed4fa2cbea640627676a6cab4399c1b29ae23cb21fe73c9bea0d80a7f"; + sha256 = "3ab6a2dac48ba71b28bc8ee05d254daa72b62f84dda953749fa621a80ca39ae5"; description = "Microsoft Azure Command-Line Tools MaintenanceManagementClient Extension"; }; managedccfs = mkAzExtension rec { @@ -610,9 +638,9 @@ }; managednetworkfabric = mkAzExtension rec { pname = "managednetworkfabric"; - version = "4.2.0"; + version = "6.2.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/managednetworkfabric-${version}-py3-none-any.whl"; - sha256 = "f80f528a099862fa8e792f770943a832dbb958b503cc5cc8cb6f58766056d857"; + sha256 = "3761e2319e0a6bccde79d59e2ab2d508f00e601562c0b7e4bf290ff9d9b14479"; description = "Support for managednetworkfabric commands based on 2023-06-15 API version"; }; managementpartner = mkAzExtension rec { @@ -622,6 +650,13 @@ sha256 = "22ddf4b1cdc77e99262cb6089c4d96040065828a1d38a2709fdb945d3c851839"; description = "Support for Management Partner preview"; }; + mdp = mkAzExtension rec { + pname = "mdp"; + version = "1.0.0b1"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/mdp-${version}-py3-none-any.whl"; + sha256 = "7875607d84eaf835afe73b9eee9280a5169c5b0b1dd1b66a6eff593fe292a4de"; + description = "Microsoft Azure Command-Line Tools Mdp Extension"; + }; mixed-reality = mkAzExtension rec { pname = "mixed-reality"; version = "0.0.5"; @@ -631,16 +666,16 @@ }; mobile-network = mkAzExtension rec { pname = "mobile-network"; - version = "0.2.1"; + version = "1.0.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/mobile_network-${version}-py3-none-any.whl"; - sha256 = "66bd39f687c2ac030ab6bd44b8746ec8d64c4804b44592c0bb1ffda837dce22b"; + sha256 = "2d9572a4ed706df8f626c62036ad22f46a15b113273f8ff9b06313a380a27f56"; description = "Microsoft Azure Command-Line Tools MobileNetwork Extension"; }; monitor-control-service = mkAzExtension rec { pname = "monitor-control-service"; - version = "1.0.1"; + version = "1.0.2"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/monitor_control_service-${version}-py3-none-any.whl"; - sha256 = "66475eb79c577ea566c74f986b9ef6af936580beb02dde622701370323d430a3"; + sha256 = "e0a271c65997120e0022baf51e63c2feec4df3235258a6243a60ff069315b84a"; description = "Microsoft Azure Command-Line Tools MonitorClient Extension"; }; network-analytics = mkAzExtension rec { @@ -673,9 +708,9 @@ }; nginx = mkAzExtension rec { pname = "nginx"; - version = "0.1.1"; + version = "2.0.0b4"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/nginx-${version}-py2.py3-none-any.whl"; - sha256 = "3234129a26043a68e80ee1ae31c36e7ef8b2691a096cd6fc557e3a46fea8170e"; + sha256 = "5327d108083910acbc066b46b8aaf7cb9355bc6e82b4857c706e9990074b512c"; description = "Microsoft Azure Command-Line Tools Nginx Extension"; }; notification-hub = mkAzExtension rec { @@ -806,9 +841,9 @@ }; scheduled-query = mkAzExtension rec { pname = "scheduled-query"; - version = "0.5.3"; + version = "1.0.0b1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/scheduled_query-${version}-py2.py3-none-any.whl"; - sha256 = "b141ce4ff7678484561e9f3c842d8249112a465b7a0da07a6da49856920f8534"; + sha256 = "fd5e69d0438b8089dbe197d5ba4c41776aed906941cac374755a4c9044c4af04"; description = "Microsoft Azure Command-Line Tools Scheduled_query Extension"; }; scvmm = mkAzExtension rec { @@ -820,9 +855,9 @@ }; self-help = mkAzExtension rec { pname = "self-help"; - version = "0.2.0"; + version = "0.4.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/self_help-${version}-py3-none-any.whl"; - sha256 = "a57d629f75443666af570188716eaf2b9182da41f6d2f958f6d53d79b830b23e"; + sha256 = "8c903aaf10d6cb61e6455f6010deeeb496d1e23d6876662089266a49403586b6"; description = "Microsoft Azure Command-Line Tools SelfHelp Extension"; }; sentinel = mkAzExtension rec { @@ -841,9 +876,9 @@ }; spring = mkAzExtension rec { pname = "spring"; - version = "1.19.3"; + version = "1.24.4"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/spring-${version}-py3-none-any.whl"; - sha256 = "80cbd41e563231e500670402b01e95150adce18b7c128320c3d2393284e0d5d5"; + sha256 = "2e298a74b53fcac40d6173a5e9ea386568fcf73d88bde4c44b37c8b755b7555d"; description = "Microsoft Azure Command-Line Tools spring Extension"; }; spring-cloud = mkAzExtension rec { @@ -862,10 +897,17 @@ }; stack-hci-vm = mkAzExtension rec { pname = "stack-hci-vm"; - version = "0.1.11"; - url = "https://hybridaksstorage.z13.web.core.windows.net/SelfServiceVM/CLI/stack_hci_vm-${version}.1-py3-none-any.whl"; - sha256 = "cc99134288545178d08b18abd5b7c9e3d099d2add8b52ab9308f6c5fd97ae60c"; - description = "Microsoft Azure Command-Line Tools AzureStackHCIClient Extension "; + version = "1.1.11"; + url = "https://hciarcvmsstorage.blob.core.windows.net/cli-extension/stack_hci_vm-${version}-py3-none-any.whl"; + sha256 = "35810b2c3e02a7e3f0fa985c5bd443fbf94ccd72ac28b6ebff5aad1b2d7469aa"; + description = "Microsoft Azure Command-Line Tools Stack-HCi-VM Extension"; + }; + standbypool = mkAzExtension rec { + pname = "standbypool"; + version = "1.0.0b1"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/standbypool-${version}-py3-none-any.whl"; + sha256 = "44c03e320c8b49f52390e3c11d61b25a67afeffc18d62baa522c373142de0e15"; + description = "Microsoft Azure Command-Line Tools Standbypool Extension"; }; staticwebapp = mkAzExtension rec { pname = "staticwebapp"; @@ -874,6 +916,13 @@ sha256 = "fb1dcd876fc2d829cc7a1cc545e9445364d43357d888bb3deeb36a716b805717"; description = "Microsoft Azure Command-Line Tools Staticwebapp Extension"; }; + storage-actions = mkAzExtension rec { + pname = "storage-actions"; + version = "1.0.0b1"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/storage_actions-${version}-py3-none-any.whl"; + sha256 = "07c5be256edbbe2c81d839e4c6d3d917a56b93921515028cf962393e1176331b"; + description = "Microsoft Azure Command-Line Tools StorageActions Extension"; + }; storage-blob-preview = mkAzExtension rec { pname = "storage-blob-preview"; version = "0.7.2"; @@ -911,9 +960,9 @@ }; support = mkAzExtension rec { pname = "support"; - version = "1.0.3"; + version = "2.0.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/support-${version}-py2.py3-none-any.whl"; - sha256 = "9f5b4ebc6a90b48d2a3c18ce7b74d89240275dcf23aa836b8509882b1ee28c56"; + sha256 = "5dde97f8fb12eaa258530f68ec2cae00a957f30479835e9f5ed057940312741a"; description = "Microsoft Azure Command-Line Tools Support Extension"; }; timeseriesinsights = mkAzExtension rec { @@ -925,16 +974,23 @@ }; traffic-collector = mkAzExtension rec { pname = "traffic-collector"; - version = "0.1.2"; + version = "0.1.3"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/traffic_collector-${version}-py3-none-any.whl"; - sha256 = "98bda4d9a9233efb0ae1c5fae1a6c2a42942e8a71b0ebf19d3a7193548b13ff2"; + sha256 = "a144a4fda3bce84db22277bd8611084ae1ae39e0bb8c7b50619ec378711f57ba"; description = "Microsoft Azure Command-Line Tools TrafficCollector Extension"; }; + trustedsigning = mkAzExtension rec { + pname = "trustedsigning"; + version = "1.0.0b2"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/trustedsigning-${version}-py3-none-any.whl"; + sha256 = "c3ae869c1371493180b9ed71db0bdc3842bad54c8832beb6007118d26bed71e8"; + description = "Microsoft Azure Command-Line Tools Trustedsigning Extension"; + }; virtual-network-manager = mkAzExtension rec { pname = "virtual-network-manager"; - version = "1.0.1"; + version = "1.2.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_network_manager-${version}-py3-none-any.whl"; - sha256 = "a18581c625791fb29736e7ec1b9e18d4a00f3765a8600192e10c892fd27b7ba1"; + sha256 = "7f9f239fd7904645beacc2b738dd4660fb36779966e9b2331c43826e37564793"; description = "Microsoft Azure Command-Line Tools NetworkManagementClient Extension"; }; virtual-network-tap = mkAzExtension rec { @@ -946,16 +1002,16 @@ }; virtual-wan = mkAzExtension rec { pname = "virtual-wan"; - version = "0.3.0"; + version = "1.0.0"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/virtual_wan-${version}-py2.py3-none-any.whl"; - sha256 = "e5f4e9d4398cf0fcd656c0107386adbc8493e69e3158af6c5145ed23aaf77165"; + sha256 = "0ef7b4bf9ffd0aa1ad5c50e15a343276636bcfe0296e52d2ee5f0b75ce70633d"; description = "Manage virtual WAN, hubs, VPN gateways and VPN sites"; }; vm-repair = mkAzExtension rec { pname = "vm-repair"; - version = "1.0.0b1"; + version = "1.0.5"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/vm_repair-${version}-py2.py3-none-any.whl"; - sha256 = "7e6b9fb9952a56811d65de87b87b0403a6161edfa82284a43fa58f176e397b8b"; + sha256 = "f2f7bc5698f89e0f6254464dc18d04d477dab4aab93296a46649018723855b26"; description = "Auto repair commands to fix VMs"; }; vmware = mkAzExtension rec { @@ -974,9 +1030,9 @@ }; workloads = mkAzExtension rec { pname = "workloads"; - version = "0.1.0a1"; + version = "1.1.0b1"; url = "https://azcliprod.blob.core.windows.net/cli-extensions/workloads-${version}-py3-none-any.whl"; - sha256 = "0e5ba95c3799d043fc2ba869ce0c5b2eea200357a8b0cbd2b2733bb91d4cc7a8"; + sha256 = "262c41b08b831d689802634bb1a0fea0add38c3611f27b2036576d45232a1ff5"; description = "Microsoft Azure Command-Line Tools Workloads Extension"; }; } diff --git a/pkgs/tools/admin/azure-cli/extensions-manual.nix b/pkgs/tools/admin/azure-cli/extensions-manual.nix index e69888b216b9f..6e098fb1f3cf8 100644 --- a/pkgs/tools/admin/azure-cli/extensions-manual.nix +++ b/pkgs/tools/admin/azure-cli/extensions-manual.nix @@ -1,4 +1,6 @@ -{ mkAzExtension +{ lib +, mkAzExtension +, mycli , python3Packages }: @@ -9,8 +11,26 @@ url = "https://github.com/Azure/azure-devops-cli-extension/releases/download/20240206.1/azure_devops-${version}-py2.py3-none-any.whl"; sha256 = "658a2854d8c80f874f9382d421fa45abf6a38d00334737dda006f8dec64cf70a"; description = "Tools for managing Azure DevOps"; - propagatedBuildInputs = with python3Packages; [ - distro + propagatedBuildInputs = with python3Packages; [ distro ]; + }; + + rdbms-connect = mkAzExtension rec { + pname = "rdbms-connect"; + version = "1.0.6"; + url = "https://azcliprod.blob.core.windows.net/cli-extensions/rdbms_connect-${version}-py2.py3-none-any.whl"; + sha256 = "49cbe8d9b7ea07a8974a29ad90247e864ed798bed5f28d0e3a57a4b37f5939e7"; + description = "Support for testing connection to Azure Database for MySQL & PostgreSQL servers"; + propagatedBuildInputs = (with python3Packages; [ + pgcli + psycopg2 + pymysql + setproctitle + ]) ++ [ + mycli ]; + meta.maintainers = with lib.maintainers; [ obreitwi ]; }; + + # Removed extensions + blockchain = throw "The 'blockchain' extension for azure-cli was deprecated upstream"; # Added 2024-04-26 } diff --git a/pkgs/tools/admin/azure-cli/python-packages.nix b/pkgs/tools/admin/azure-cli/python-packages.nix index 7e643a0a2ef6d..9fc836fb803b2 100644 --- a/pkgs/tools/admin/azure-cli/python-packages.nix +++ b/pkgs/tools/admin/azure-cli/python-packages.nix @@ -108,11 +108,11 @@ let azure-keyvault-keys = overrideAzureMgmtPackage super.azure-keyvault-keys "4.9.0b3" "tar.gz" "sha256-qoseyf6WqBEG8vPc1hF17K46AWk8Ba8V9KRed4lOlGo="; azure-mgmt-applicationinsights = overrideAzureMgmtPackage super.azure-mgmt-applicationinsights "1.0.0" "zip" "sha256-woeix9703hn5LAwxugKGf6xvW433G129qxkoi7RV/Fs="; - azure-mgmt-batch = overrideAzureMgmtPackage super.azure-mgmt-batch "17.2.0" "tar.gz" "sha256-ihXjijfW5OzilXPegIxaiSdsmfJSDqHzUrhqcEyJhY0="; + azure-mgmt-batch = overrideAzureMgmtPackage super.azure-mgmt-batch "17.3.0" "tar.gz" "sha256-/JSIGmrNuKlTPzcbb3stPq6heJ65VQFLJKkI1t/nWZE="; azure-mgmt-batchai = overrideAzureMgmtPackage super.azure-mgmt-batchai "7.0.0b1" "zip" "sha256-mT6vvjWbq0RWQidugR229E8JeVEiobPD3XA/nDM3I6Y="; azure-mgmt-botservice = overrideAzureMgmtPackage super.azure-mgmt-botservice "2.0.0b3" "zip" "sha256-XZGQOeMw8usyQ1tl8j57fZ3uqLshomHY9jO/rbpQOvM="; azure-mgmt-cdn = overrideAzureMgmtPackage super.azure-mgmt-cdn "12.0.0" "zip" "sha256-t8PuIYkjS0r1Gs4pJJJ8X9cz8950imQtbVBABnyMnd0="; - azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "30.4.0" "tar.gz" "sha256-C3Qo/YvRXHy9fGa5uwEOClyzeoBs7x9JSNkHGRV2kzQ="; + azure-mgmt-compute = overrideAzureMgmtPackage super.azure-mgmt-compute "31.0.0" "tar.gz" "sha256-WlscT8GhnssCKhLe0b6LGxVfaXnQP7nvwEZC9gZkS78="; azure-mgmt-core = overrideAzureMgmtPackage super.azure-mgmt-core "1.3.2" "zip" "sha256-B/Sv6COlXXBLBI1h7f3BMYwFHtWfJEAyEmNQvpXp1QE="; azure-mgmt-datalake-store = overrideAzureMgmtPackage super.azure-mgmt-datalake-store "0.5.0" "zip" "sha256-k3bTVJVmHRn4rMVgT2ewvFlJOxg1u8SA+aGVL5ABekw="; azure-mgmt-devtestlabs = overrideAzureMgmtPackage super.azure-mgmt-devtestlabs "4.0.0" "zip" "sha256-WVScTEBo8mRmsQl7V0qOUJn7LNbIvgoAOVsG07KeJ40="; @@ -131,19 +131,16 @@ let azure-mgmt-netapp = overrideAzureMgmtPackage super.azure-mgmt-netapp "10.1.0" "zip" "sha256-eJiWTOCk2C79Jotku9bKlu3vU6H8004hWrX+h76MjQM="; azure-mgmt-policyinsights = overrideAzureMgmtPackage super.azure-mgmt-policyinsights "1.1.0b4" "zip" "sha256-aB16xyrhNYHJeitvdCeV+kik21B2LC+5/OSDQIGwTpI="; azure-mgmt-privatedns = overrideAzureMgmtPackage super.azure-mgmt-privatedns "1.0.0" "zip" "sha256-tg8W5D97KRWCxfV7rhsIMJbYMD6dmVjiwpInpVzCfEU="; - azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b12" "tar.gz" "sha256-WdTm0YxMXNHGcSGD38YZ1YmJaMjfLJC8OImXedcxDeE="; - azure-mgmt-recoveryservicesbackup = overrideAzureMgmtPackage super.azure-mgmt-recoveryservicesbackup "8.0.0" "tar.gz" "sha256-Hakde59uvVcCkvFt9w69nVr7BjNrPU0Q/COcA0h7Cnw="; + azure-mgmt-rdbms = overrideAzureMgmtPackage super.azure-mgmt-rdbms "10.2.0b16" "tar.gz" "sha256-HDktzv8MOs5VRQArbS3waMhjbwVgZMmvch7PXen5DjE="; + azure-mgmt-recoveryservicesbackup = overrideAzureMgmtPackage super.azure-mgmt-recoveryservicesbackup "9.1.0" "tar.gz" "sha256-Hp/UBsDJ7iYn9aNx8BL4dzQvf8bzOyVk/NFNbwZjzQ8="; azure-mgmt-redis = overrideAzureMgmtPackage super.azure-mgmt-redis "14.3.0" "tar.gz" "sha256-eoMbY4oNzYXkn3uFUhxecJQD+BxYkGTbWhAWSgAoLyA="; - azure-mgmt-resource = overrideAzureMgmtPackage super.azure-mgmt-resource "23.1.0b2" "zip" "sha256-kMmiKVwjPgmsTIxxxDRNXE41jSTJkemnKhO+P/OcPZI="; + azure-mgmt-resource = overrideAzureMgmtPackage super.azure-mgmt-resource "23.1.1" "tar.gz" "sha256-ILawBrVE/bGWB/P2o4EQViXgu2D78wNvOYhcRkbTND4="; azure-mgmt-search = overrideAzureMgmtPackage super.azure-mgmt-search "9.0.0" "zip" "sha256-Gc+qoTa1EE4/YmJvUSqVG+zZ50wfohvWOe/fLJ/vgb0="; - azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "5.0.0" "zip" "sha256-OLA+/oLCNEzqID/alebQC3rCJ4L6HAtYXNDqLI/z5wI="; - azure-mgmt-servicefabric = (overrideAzureMgmtPackage super.azure-mgmt-servicefabric "1.0.0" "zip" - "sha256-3jXhF5EoMsGp6TEJqNJMq5T1VwOpCHsuscWwZVs7GRM=").overridePythonAttrs (attrs: { - propagatedBuildInputs = attrs.propagatedBuildInputs or [ ] ++ [ self.msrest self.msrestazure ]; - }); - azure-mgmt-servicelinker = overrideAzureMgmtPackage super.azure-mgmt-servicelinker "1.2.0b1" "zip" "sha256-RK1Q51Q0wAG55oKrFmv65/2AUKl+gRdp27t/EcuMONk="; + azure-mgmt-security = overrideAzureMgmtPackage super.azure-mgmt-security "6.0.0" "tar.gz" "sha256-zq/BhpiZBnEQvYMMXMmLybjzLY6oQMofaTsaX1Kl+LA="; + azure-mgmt-servicefabric = overrideAzureMgmtPackage super.azure-mgmt-servicefabric "2.1.0" "tar.gz" "sha256-oIQzBJVUQ2yQhEvIqWgg6INplITm/8mQMv0lcfjF99Y="; + azure-mgmt-servicelinker = overrideAzureMgmtPackage super.azure-mgmt-servicelinker "1.2.0b2" "tar.gz" "sha256-PpEFMM8ri9OgAa79dGhvPKy5YFfDZZustBUDieQrtZU="; azure-mgmt-signalr = overrideAzureMgmtPackage super.azure-mgmt-signalr "2.0.0b1" "tar.gz" "sha256-oK2ceBEoQ7gAeG6mye+x8HPzQU9bUNRPVJtRW2GL4xg="; - azure-mgmt-sql = overrideAzureMgmtPackage super.azure-mgmt-sql "4.0.0b15" "tar.gz" "sha256-zSrDo3+ftYayOK/gvhf/PQ926e3qExtSj/yDgXC9VqA="; + azure-mgmt-sql = overrideAzureMgmtPackage super.azure-mgmt-sql "4.0.0b16" "tar.gz" "sha256-+6QKEROlbXe0oCj4qtB+r4/yCPZD4N+71e5Z1Z/zXV0="; azure-mgmt-sqlvirtualmachine = overrideAzureMgmtPackage super.azure-mgmt-sqlvirtualmachine "1.0.0b5" "zip" "sha256-ZFgJflgynRSxo+B+Vso4eX1JheWlDQjfJ9QmupXypMc="; azure-mgmt-storage = overrideAzureMgmtPackage super.azure-mgmt-storage "21.1.0" "tar.gz" "sha256-1tPA6RfJiLye0Eckd9PvP5CIYAnrHZenEZRPg3VjAWI="; azure-mgmt-synapse = overrideAzureMgmtPackage super.azure-mgmt-synapse "2.1.0b5" "zip" "sha256-5E6Yf1GgNyNVjd+SeFDbhDxnOA6fOAG6oojxtCP4m+k="; |