oci-cli: 3.74.0 -> 3.76.0; Minor improvements (#500664)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
python3,
|
||||
installShellFiles,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -23,16 +24,16 @@ let
|
||||
};
|
||||
in
|
||||
|
||||
py.pkgs.buildPythonApplication rec {
|
||||
py.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "oci-cli";
|
||||
version = "3.74.0";
|
||||
version = "3.76.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oracle";
|
||||
repo = "oci-cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-s2mE3aE0QJqyvzD7eL7MoRBRopWFGUVFZ7d3pRwF7gA=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-3fmehq8jM9S2ICxD+4+bEEJqtn/bgV5UW3mveJl+Z7A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
@@ -66,6 +67,8 @@ py.pkgs.buildPythonApplication rec {
|
||||
"prompt-toolkit"
|
||||
"pyOpenSSL"
|
||||
"terminaltables"
|
||||
"certifi"
|
||||
"pytz"
|
||||
];
|
||||
|
||||
# Propagating dependencies leaks them through $PYTHONPATH which causes issues
|
||||
@@ -98,18 +101,22 @@ py.pkgs.buildPythonApplication rec {
|
||||
"oci_cli"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Command Line Interface for Oracle Cloud Infrastructure";
|
||||
homepage = "https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm";
|
||||
changelog = "https://github.com/oracle/oci-cli/releases/tag/v${finalAttrs.version}";
|
||||
license = with lib.licenses; [
|
||||
asl20 # or
|
||||
upl
|
||||
];
|
||||
mainProgram = "oci";
|
||||
maintainers = with lib.maintainers; [
|
||||
ilian
|
||||
FKouhai
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user