circleci-cli: Rename executable to circleci

This is the official name of the tool, so it matches the docs and usages out there.
This commit is contained in:
Claudio Bley 2022-09-14 13:44:59 +02:00
parent 4f293b20a8
commit 2eeaffdf0a

View file

@ -17,6 +17,10 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X github.com/CircleCI-Public/circleci-cli/version.Version=${version}" "-X github.com/CircleCI-Public/circleci-cli/version.Commit=${src.rev}" "-X github.com/CircleCI-Public/circleci-cli/version.packageManager=nix" ];
postInstall = ''
mv $out/bin/circleci-cli $out/bin/circleci
'';
meta = with lib; {
# Box blurb edited from the AUR package circleci-cli
description = ''
@ -24,6 +28,7 @@ buildGoModule rec {
run jobs as if they were running on the hosted CirleCI application.
'';
maintainers = with maintainers; [ synthetica ];
mainProgram = "circleci";
license = licenses.mit;
homepage = "https://circleci.com/";
};