diff options
author | emilylange | 2024-04-04 01:58:29 +0200 |
---|---|---|
committer | emilylange | 2024-04-04 01:58:29 +0200 |
commit | 0e0d43445658106654f64807e2fc698d3a77c27f (patch) | |
tree | 19fed35c631a2a68d5d49b78780d62912c52c797 /pkgs/development/tools/continuous-integration | |
parent | 40f1dbb004b1d720c094d0378d258c8f0b558abb (diff) |
forgejo-runner: rename from forgejo-actions-runner
This is to match the name upstream and other repositories use. See https://code.forgejo.org/forgejo/runner and https://repology.org/project/forgejo-runner/versions Furthermore, upstream calls the resulting binary `forgejo-runner` instead of `act_runner`. https://code.forgejo.org/forgejo/runner/src/tag/v3.3.0/Makefile#L2 We should probably copy this.
Diffstat (limited to 'pkgs/development/tools/continuous-integration')
-rw-r--r-- | pkgs/development/tools/continuous-integration/forgejo-actions-runner/default.nix | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/development/tools/continuous-integration/forgejo-actions-runner/default.nix b/pkgs/development/tools/continuous-integration/forgejo-actions-runner/default.nix deleted file mode 100644 index dc5ad3708a0e..000000000000 --- a/pkgs/development/tools/continuous-integration/forgejo-actions-runner/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ lib -, buildGoModule -, fetchFromGitea -, testers -, forgejo-actions-runner -}: - -buildGoModule rec { - pname = "forgejo-actions-runner"; - version = "3.3.0"; - - src = fetchFromGitea { - domain = "code.forgejo.org"; - owner = "forgejo"; - repo = "runner"; - rev = "v${version}"; - hash = "sha256-ZpsHytsIp+ZW4DI7X9MmI7nZRnXVHvx905YdZGS6WMY="; - }; - - vendorHash = "sha256-5GnGXpMy1D7KpVAVroX07Vw5QKYYtwdIhQsk23WCLgc="; - - ldflags = [ - "-s" - "-w" - "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${src.rev}" - ]; - - doCheck = false; # Test try to lookup code.forgejo.org. - - passthru.tests.version = testers.testVersion { - package = forgejo-actions-runner; - version = src.rev; - }; - - meta = with lib; { - description = "A runner for Forgejo based on act"; - homepage = "https://code.forgejo.org/forgejo/runner"; - changelog = "https://gitea.com/gitea/act_runner/releases/tag/${src.rev}"; - license = licenses.mit; - maintainers = with maintainers; [ kranzes ]; - mainProgram = "act_runner"; - }; -} |