depot/third_party/nixpkgs/pkgs/by-name/dr/drone-scp/package.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

28 lines
682 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "drone-scp";
version = "1.7.0";
src = fetchFromGitHub {
owner = "appleboy";
repo = "drone-scp";
rev = "v${version}";
hash = "sha256-cVgKWdhmCdjEHGazZ1FMAOJMVyU5pl8aIgwFMhxlhzg=";
};
vendorHash = "sha256-2FEHklEa6TIB3jhmxR2yosPbtqMJcxeIDDnT2X2Xm+U=";
# Needs a specific user...
doCheck = false;
meta = with lib; {
description = "Copy files and artifacts via SSH using a binary, docker or Drone CI";
homepage = "https://github.com/appleboy/drone-scp";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
mainProgram = "drone-scp";
};
}