mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #192251 from techknowlogick/drone-2130
drone: 2.12.1 -> 2.13.0
This commit is contained in:
commit
1a1cba58c0
1 changed files with 11 additions and 8 deletions
|
@ -1,23 +1,26 @@
|
||||||
{ lib, fetchFromGitHub, buildGoModule
|
{ lib
|
||||||
, enableUnfree ? true }:
|
, fetchFromGitHub
|
||||||
|
, buildGoModule
|
||||||
|
, enableUnfree ? true
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}";
|
pname = "drone.io${lib.optionalString (!enableUnfree) "-oss"}";
|
||||||
version = "2.12.1";
|
version = "2.13.0";
|
||||||
|
|
||||||
vendorSha256 = "sha256-hKJFYjIJVuGBiSIeTitI7kZdGjSRUTCPMhH72O0wm3I=";
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "harness";
|
owner = "harness";
|
||||||
repo = "drone";
|
repo = "drone";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ZngZzpFjQLkiBDNrmgPXPCfDoeZbX/ynBXkuNrrGz3E=";
|
sha256 = "sha256-2NezH7+hsOz+r+gong2CxXVjtxRyIKkA0G6OGoJcGFk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-6/wbxQ+Cv0lOlBqi8NUQQ8Z21w27betfeX/NiNDpOjA=";
|
||||||
|
|
||||||
tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ];
|
tags = lib.optionals (!enableUnfree) [ "oss" "nolimit" ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
maintainers = with maintainers; [ elohmeier vdemeester techknowlogick ];
|
maintainers = with maintainers; [ elohmeier vdemeester techknowlogick ];
|
||||||
license = with licenses; if enableUnfree then unfreeRedistributable else asl20;
|
license = with licenses; if enableUnfree then unfreeRedistributable else asl20;
|
||||||
|
|
Loading…
Reference in a new issue