added woodpecker-agent

This commit is contained in:
Johannes Schnürle 2022-05-31 20:58:11 +02:00
parent b8938f7d95
commit b3f0579088

View 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;
};
}