a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
29 lines
769 B
Nix
29 lines
769 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
, enableUnfree ? true
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}";
|
|
version = "2.16.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "harness";
|
|
repo = "drone";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-bNvXAcFMPK8C/QN7VTdnicewRfaEtyJ45MhQSTNYp3U=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-9EKXMy9g3kTpHer27ouuFDjh7zSEeBcpI8nH1VkMA9M=";
|
|
|
|
tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
maintainers = with maintainers; [ elohmeier vdemeester techknowlogick ];
|
|
license = with licenses; if enableUnfree then unfreeRedistributable else asl20;
|
|
description = "Continuous Integration platform built on container technology";
|
|
};
|
|
}
|