mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
29 lines
683 B
Nix
29 lines
683 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "drone-scp";
|
|
version = "1.6.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "appleboy";
|
|
repo = "drone-scp";
|
|
rev = "v${version}";
|
|
hash = "sha256-RxpDlQ6lYT6XH5zrYZaRO5YsB++7Ujr7dvgsTtXIBfc=";
|
|
};
|
|
|
|
vendorHash = "sha256-0/RGPvafOLT/O0l9ENoiHLmtOaP3DpjmXjmotuxF944=";
|
|
|
|
# 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";
|
|
};
|
|
}
|