4cb23072fc
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
29 lines
657 B
Nix
29 lines
657 B
Nix
{ lib, fetchFromGitHub, buildGoModule }:
|
|
|
|
buildGoModule rec {
|
|
version = "1.5.0";
|
|
pname = "drone-cli";
|
|
revision = "v${version}";
|
|
|
|
vendorSha256 = "sha256-bYjEVmQ7lPd+Gn5cJwlzBQkMkLAXA1iSa1DXz/IM1Ss=";
|
|
|
|
doCheck = false;
|
|
|
|
ldflags = [
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "drone";
|
|
repo = "drone-cli";
|
|
rev = revision;
|
|
sha256 = "sha256-TFIGKTVrAMSOFEmu3afdDKBgyEwF2KIv3rt1fS6rCxw=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
mainProgram = "drone";
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.asl20;
|
|
description = "Command line client for the Drone continuous integration server";
|
|
};
|
|
}
|