Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
796 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "buildkite-cli";
version = "3.13.0";
src = fetchFromGitHub {
owner = "buildkite";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-SX80Hw9iaYvdrprI/Y1lYXTaKeGTkeVIBk2UujB//cs=";
};
vendorHash = "sha256-9doJSApHYYU9GrXi++WIqtUP743mZeRUCuy2xqO/kGo=";
doCheck = false;
postPatch = ''
patchShebangs .buildkite/steps/{lint,run-local}.sh
'';
subPackages = [ "cmd/bk" ];
ldflags = [
"-s"
"-w"
"-X main.VERSION=${version}"
];
meta = with lib; {
description = "Command line interface for Buildkite";
homepage = "https://github.com/buildkite/cli";
license = licenses.mit;
maintainers = with maintainers; [ groodt ];
mainProgram = "bk";
};
}