Merge pull request #266097 from ambroisie/add-drone-scp
drone-scp: init at 1.6.11
This commit is contained in:
commit
26a3184527
1 changed files with 28 additions and 0 deletions
28
pkgs/by-name/dr/drone-scp/package.nix
Normal file
28
pkgs/by-name/dr/drone-scp/package.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "drone-scp";
|
||||
version = "1.6.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "appleboy";
|
||||
repo = "drone-scp";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JCqiYPhuPKDcbg8eo4DFuUVazu+0e0YTnG87NZRARMU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-zPpwvU/shSK1bfm0Qc2VjifSzDTpFnsUiogQfQcdY7I=";
|
||||
|
||||
# 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue