2023-11-07 18:09:16 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "drone-scp";
|
2024-01-05 05:27:41 +01:00
|
|
|
version = "1.6.14";
|
2023-11-07 18:09:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "appleboy";
|
|
|
|
repo = "drone-scp";
|
|
|
|
rev = "v${version}";
|
2024-01-05 05:27:41 +01:00
|
|
|
hash = "sha256-RxpDlQ6lYT6XH5zrYZaRO5YsB++7Ujr7dvgsTtXIBfc=";
|
2023-11-07 18:09:16 +01:00
|
|
|
};
|
|
|
|
|
2024-01-05 05:27:41 +01:00
|
|
|
vendorHash = "sha256-0/RGPvafOLT/O0l9ENoiHLmtOaP3DpjmXjmotuxF944=";
|
2023-11-07 18:09:16 +01: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";
|
|
|
|
};
|
|
|
|
}
|