nix-config/pkgs/drone-scp/default.nix

25 lines
610 B
Nix
Raw Normal View History

2021-08-08 18:03:19 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "drone-scp";
2022-06-15 11:26:44 +02:00
version = "1.6.3";
2021-08-08 18:03:19 +02:00
src = fetchFromGitHub {
owner = "appleboy";
repo = "drone-scp";
rev = "v${version}";
2023-04-01 17:33:26 +02:00
hash = "sha256-ELjPqoRR4O6gmc/PgthQuSXuSTQNzBZoAUT80zVVbV0=";
2021-08-08 18:03:19 +02:00
};
2023-04-01 17:33:26 +02:00
vendorHash = "sha256-/c103hTJ/Qdz2KTkdl/ACvAaSSTKcl1DQY3+Us6OxaI=";
2021-08-08 18:03:19 +02:00
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;
};
}