depot/third_party/nixpkgs/pkgs/development/tools/continuous-integration/drone/default.nix
Default email 48d4c8cc3c Project import generated by Copybara.
GitOrigin-RevId: 6ef4f522d63f22b40004319778761040d3197390
2021-08-08 17:34:03 -06:00

26 lines
749 B
Nix

{ lib, fetchFromGitHub, buildGoModule
, enableUnfree ? true }:
buildGoModule rec {
pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}";
version = "2.0.3";
vendorSha256 = "sha256-3qTH/p0l6Ke1F9SUcvK2diqZooOMnlXYO1PHLdJJ8PM=";
doCheck = false;
src = fetchFromGitHub {
owner = "drone";
repo = "drone";
rev = "v${version}";
sha256 = "sha256-MKV5kor+Wm9cuIFFcjSNyCgVKtY+/B9sgBOXMMRvMPI=";
};
tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ];
meta = with lib; {
maintainers = with maintainers; [ elohmeier vdemeester ];
license = with licenses; if enableUnfree then unfreeRedistributable else asl20;
description = "Continuous Integration platform built on container technology";
};
}