mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
amazon-q-cli: 1.9.1 -> 1.10.0
This commit is contained in:
@@ -8,22 +8,22 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "amazon-q-cli";
|
||||
version = "1.9.1";
|
||||
version = "1.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "amazon-q-developer-cli";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-BiVCiMBL5LLm8RYw58u6P7yqQq9XnN8b6fTbxNE2QsA=";
|
||||
hash = "sha256-X1L3Nrzchp8yuGGBwwLQ4ZE41GKH3pFR2CX77TYYhNo=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
|
||||
cargoHash = "sha256-7zUgWLGTZx3Ex7RYxb3eZimWdy6AxkNwpCDUwiAr2JE=";
|
||||
cargoHash = "sha256-qtQ+e0NRzzGn0s2zpnMNUv7JdQDuImMfyC0C/QZrpjU=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
"q_cli"
|
||||
"chat_cli"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -31,12 +31,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -m 0755 $out/bin/q_cli $out/bin/amazon-q
|
||||
install -m 0755 $out/bin/chat_cli $out/bin/amazon-q
|
||||
'';
|
||||
|
||||
cargoTestFlags = [
|
||||
"-p"
|
||||
"q_cli"
|
||||
"chat_cli"
|
||||
];
|
||||
|
||||
# skip integration tests that have external dependencies
|
||||
@@ -60,6 +60,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
"--skip=init_lint_zsh_post_zshrc"
|
||||
"--skip=init_lint_zsh_pre_zprofile"
|
||||
"--skip=init_lint_zsh_pre_zshrc"
|
||||
"--skip=telemetry::cognito::test::pools"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user