pkgs: add drone-scp
This commit is contained in:
parent
d679262c6f
commit
cf2747a98f
|
@ -6,6 +6,8 @@ rec {
|
||||||
|
|
||||||
diff-flake = pkgs.callPackage ./diff-flake { };
|
diff-flake = pkgs.callPackage ./diff-flake { };
|
||||||
|
|
||||||
|
drone-scp = pkgs.callPackage ./drone-scp { };
|
||||||
|
|
||||||
ff2mpv-go = pkgs.callPackage ./ff2mpv-go { };
|
ff2mpv-go = pkgs.callPackage ./ff2mpv-go { };
|
||||||
|
|
||||||
havm = pkgs.callPackage ./havm { };
|
havm = pkgs.callPackage ./havm { };
|
||||||
|
|
24
pkgs/drone-scp/default.nix
Normal file
24
pkgs/drone-scp/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue