added woodpecker-agent
This commit is contained in:
parent
b8938f7d95
commit
b3f0579088
27
woodpecker-agent/default.nix
Normal file
27
woodpecker-agent/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ pkgs ? import <nixpkgs> {} }:
|
||||||
|
|
||||||
|
pkgs.buildGoModule rec {
|
||||||
|
pname = "woodpecker-agent";
|
||||||
|
version = "0.15.1";
|
||||||
|
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "woodpecker-ci";
|
||||||
|
repo = "woodpecker";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "ilywzKczcER7kO19X6vhn28HieeT7ZTSsoKyu802bS0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
subPackages = [ "cmd/agent" ];
|
||||||
|
|
||||||
|
meta = with pkgs.lib; {
|
||||||
|
description = "Woodpecker is a community fork of the Drone CI system.";
|
||||||
|
homepage = "https://woodpecker-ci.org/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ codedotjs ];
|
||||||
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue