Merge pull request #317841 from obreitwi/ojb/azure-cli/add_rdbms-connect
azure-cli-extensions.rdbms-connect: init at 1.0.6
This commit is contained in:
@@ -15368,6 +15368,12 @@
|
||||
fingerprint = "D5E4 A51D F8D2 55B9 FAC6 A9BB 2F96 07F0 9B36 0F2D";
|
||||
}];
|
||||
};
|
||||
obreitwi = {
|
||||
email = "oliver@breitwieser.eu";
|
||||
github = "obreitwi";
|
||||
githubId = 123140;
|
||||
name = "Oliver Breitwieser";
|
||||
};
|
||||
obsidian-systems-maintenance = {
|
||||
name = "Obsidian Systems Maintenance";
|
||||
email = "maintainer@obsidian.systems";
|
||||
|
||||
@@ -50,8 +50,8 @@ let
|
||||
changelog = "https://github.com/Azure/azure-cli-extensions/blob/main/src/${pname}/HISTORY.rst";
|
||||
license = lib.licenses.mit;
|
||||
sourceProvenance = [ lib.sourceTypes.fromSource ];
|
||||
};
|
||||
} // (removeAttrs args [ "url" "sha256" "description" ]));
|
||||
} // args.meta or { };
|
||||
} // (removeAttrs args [ "url" "sha256" "description" "meta" ]));
|
||||
|
||||
extensions =
|
||||
callPackages ./extensions-generated.nix { inherit mkAzExtension; }
|
||||
@@ -233,7 +233,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage rec {
|
||||
# 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 \
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
{ mkAzExtension
|
||||
{ lib
|
||||
, mkAzExtension
|
||||
, mycli
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
@@ -9,9 +11,24 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user