pkgs: add drone-scp
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2021-08-08 18:03:19 +02:00
parent 8c298c26f9
commit eb0c5d5895
2 changed files with 26 additions and 0 deletions

View file

@ -6,6 +6,8 @@ rec {
diff-flake = pkgs.callPackage ./diff-flake { };
drone-scp = pkgs.callPackage ./drone-scp { };
ff2mpv-go = pkgs.callPackage ./ff2mpv-go { };
havm = pkgs.callPackage ./havm { };

View file

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "drone-scp";
version = "1.6.2";
src = fetchFromGitHub {
owner = "appleboy";
repo = "drone-scp";
rev = "v${version}";
sha256 = "sha256-PNy1HA2qW4RY/VRHhuj/tIrdTuB7COr0Cuzurku+DZw=";
};
vendorSha256 = "sha256-7Aro6g3Tka0Cbi9LpqvKpQXlbxnHQWsMOkkNpENKh0U=";
doCheck = false; # Needs a specific user...
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;
};
}