0eaa97ffad
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
28 lines
690 B
Nix
28 lines
690 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "buildkite-cli";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "buildkite";
|
|
repo = "cli";
|
|
rev = "v${version}";
|
|
sha256 = "05hz59qzadkk4ji5icv5sxih31pnn0abnmiwcyfa2mr3l5jaqjnd";
|
|
};
|
|
|
|
vendorSha256 = "0jxh3yhh0sdvaykhinxngpipk369hw8z1y3g2z4c1115m5rjp2bb";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "cmd/bk" ];
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "A command line interface for Buildkite";
|
|
homepage = "https://github.com/buildkite/cli";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ groodt ];
|
|
};
|
|
}
|