nixpkgs/pkgs/by-name/dr/drone-scp/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
683 B
Nix
Raw Normal View History

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