biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / continuous-integration / gitea-actions-runner / default.nix
blob68093f39e4f861e6a9430408af616384ea06854f
1 { lib
2 , fetchFromGitea
3 , buildGoModule
4 , testers
5 , gitea-actions-runner
6 }:
8 buildGoModule rec {
9   pname = "gitea-actions-runner";
10   version = "0.2.6";
12   src = fetchFromGitea {
13     domain = "gitea.com";
14     owner = "gitea";
15     repo = "act_runner";
16     rev = "v${version}";
17     hash = "sha256-GE9yqp5zWJ4lL0L/w3oSvU72AiHBNb+yh2qBPKPe9X0=";
18   };
20   vendorHash = "sha256-NoaLq5pCwTuPd9ne5LYcvJsgUXAqcfkcW3Ck2K350JE=";
22   ldflags = [
23     "-s"
24     "-w"
25     "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=v${version}"
26   ];
28   passthru.tests.version = testers.testVersion {
29     package = gitea-actions-runner;
30     version = "v${version}";
31   };
33   meta = with lib; {
34     mainProgram = "act_runner";
35     maintainers = with maintainers; [ techknowlogick ];
36     license = licenses.mit;
37     changelog = "https://gitea.com/gitea/act_runner/releases/tag/v${version}";
38     homepage = "https://gitea.com/gitea/act_runner";
39     description = "A runner for Gitea based on act";
40   };