2024-01-02 11:29:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "drone-scp";
|
2024-10-29 11:11:06 +00:00
|
|
|
version = "1.7.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "appleboy";
|
|
|
|
repo = "drone-scp";
|
|
|
|
rev = "v${version}";
|
2024-10-29 11:11:06 +00:00
|
|
|
hash = "sha256-cVgKWdhmCdjEHGazZ1FMAOJMVyU5pl8aIgwFMhxlhzg=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-10-29 11:11:06 +00:00
|
|
|
vendorHash = "sha256-2FEHklEa6TIB3jhmxR2yosPbtqMJcxeIDDnT2X2Xm+U=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
}
|