92b3d6365d
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
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.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "harness";
|
|
repo = "drone";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-2Yu0EFMuAlG6/3YuDKQpiZU5/fBexWJtsrU1MNABSyA=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-ijUHMAcSDnZnhlzaYeD411L3ybRc08ac9jbvDDc2D4M=";
|
|
|
|
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";
|
|
};
|
|
}
|