12 # tests which assume network access in some form
14 "Test_runCreateRunnerFile"
19 pname = "forgejo-runner";
22 src = fetchFromGitea {
23 domain = "code.forgejo.org";
27 hash = "sha256-2+/PJZPqKbxeWbIVx2647/xK5CqVUUvsdd67YFwjhms=";
30 vendorHash = "sha256-wvvzD2lD1TPXEriNaI6nzNGR/Kg94zC58pAR42/DlMA=";
35 "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=${src.rev}"
39 "-skip ${lib.concatStringsSep "|" disabledTests}"
42 doInstallCheck = true;
43 nativeInstallCheckInputs = [ versionCheckHook ];
44 versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
45 versionCheckProgramArg = [ "--version" ];
48 updateScript = nix-update-script { };
49 tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
50 sqlite3 = nixosTests.forgejo.sqlite3;
55 description = "Runner for Forgejo based on act";
56 homepage = "https://code.forgejo.org/forgejo/runner";
57 changelog = "https://code.forgejo.org/forgejo/runner/src/tag/${src.rev}/RELEASE-NOTES.md";
58 license = licenses.mit;
59 maintainers = with maintainers; [
64 mainProgram = "act_runner";