copilot-cli: remove as end-of-life (#519153)
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
installShellFiles,
|
||||
testers,
|
||||
copilot-cli,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "copilot-cli";
|
||||
version = "1.34.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "copilot-cli";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-Oxt1+0z+woNPsFuCkj4t71/e21mHtoCd281BwbHCGc8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ZdYuQAdjzvxxqKHoiHfhfJff3OfEE7ciIGcX1W3jVXY=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# follow LINKER_FLAGS in Makefile
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/aws/copilot-cli/internal/pkg/version.Version=v${finalAttrs.version}"
|
||||
"-X github.com/aws/copilot-cli/internal/pkg/cli.binaryS3BucketPath=https://ecs-cli-v2-release.s3.amazonaws.com"
|
||||
];
|
||||
|
||||
subPackages = [ "./cmd/copilot" ];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd copilot \
|
||||
--bash <($out/bin/copilot completion bash) \
|
||||
--fish <($out/bin/copilot completion fish) \
|
||||
--zsh <($out/bin/copilot completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = copilot-cli;
|
||||
command = "copilot version";
|
||||
version = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Build, Release and Operate Containerized Applications on AWS";
|
||||
homepage = "https://github.com/aws/copilot-cli";
|
||||
changelog = "https://github.com/aws/copilot-cli/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jiegec ];
|
||||
mainProgram = "copilot";
|
||||
};
|
||||
})
|
||||
@@ -541,6 +541,7 @@ mapAliases {
|
||||
conduwuit = throw "'conduwuit' has been removed as the upstream repository has been deleted. Consider migrating to 'matrix-conduit', 'matrix-continuwuity' or 'matrix-tuwunel' instead."; # Added 2025-08-08
|
||||
cone = throw "cone has been removed, as it does not build with supported LLVM versions"; # Added 2025-08-10
|
||||
connman-ncurses = throw "'connman-ncurses' has been removed due to lack of maintenance upstream."; # Added 2025-05-27
|
||||
copilot-cli = throw "'copilot-cli' was removed due to upstream end-of-life."; # Added 2026-05-11
|
||||
copilot-language-server-fhs = warnAlias "The package set `copilot-language-server-fhs` has been renamed to `copilot-language-server`." copilot-language-server; # Added 2025-09-07
|
||||
copper = throw "'copper' has been removed, as it was broken since 22.11"; # Added 2025-08-22
|
||||
cordless = throw "'cordless' has been removed due to being archived upstream. Consider using 'discordo' instead."; # Added 2025-06-07
|
||||
|
||||
Reference in New Issue
Block a user