depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/drone-cli/default.nix
Default email 4cb23072fc Project import generated by Copybara.
GitOrigin-RevId: 6d8215281b2f87a5af9ed7425a26ac575da0438f
2022-01-20 00:45:15 +01:00

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";
};
}