From c92c69ed15032c27c2420ab57b8ef9c242980ae9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 18 Apr 2023 21:10:26 +0200 Subject: [PATCH] gitea-actions-runner: unstable-2023-03-18 -> 0.1.2 https://gitea.com/gitea/act_runner/releases/tag/v0.1.0 https://gitea.com/gitea/act_runner/releases/tag/v0.1.1 https://gitea.com/gitea/act_runner/releases/tag/v0.1.2 --- .../gitea-actions-runner/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix b/pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix index 95be9bdaa482..b2dad1070c87 100644 --- a/pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/gitea-actions-runner/default.nix @@ -1,29 +1,33 @@ -{ lib, fetchFromGitea, buildGoModule }: +{ lib +, fetchFromGitea +, buildGoModule +}: buildGoModule rec { pname = "gitea-actions-runner"; - version = "unstable-2023-03-18"; + version = "0.1.2"; src = fetchFromGitea { domain = "gitea.com"; owner = "gitea"; repo = "act_runner"; - rev = "9eb8b08a69e8b1c699c9c07a06c1ff8e5f6ad0fe"; - sha256 = "sha256-B8vD+86X8cqZhPmDmEjHgSsq3TdJuCf9h3XgdXC7hQY="; + rev = "v${version}"; + hash = "sha256-0wLBFZdFaGTselRZIJ809wHQFhAjt4sdmZp12LQOB9I="; }; - vendorSha256 = "sha256-K/d/ip8icc+rjTmajsGxw5aij1VMW6wJJu4LCkKqaVQ="; + vendorHash = "sha256-GBqt5qSM2mDAS7klWdJiC6t5HaVKaP0PjecYnHZBzrc="; ldflags = [ "-s" "-w" - "-X gitea.com/gitea/act_runner/cmd.version=${version}" + "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${version}" ]; meta = with lib; { mainProgram = "act_runner"; maintainers = with maintainers; [ techknowlogick ]; license = licenses.mit; + changelog = "https://gitea.com/gitea/act_runner/releases/tag/v${version}"; homepage = "https://gitea.com/gitea/act_runner"; description = "A runner for Gitea based on act"; };