{ lib, fetchFromGitHub, buildGoModule, testers, nix-update-script, act, }: let version = "0.2.70"; in buildGoModule { pname = "act"; inherit version; src = fetchFromGitHub { owner = "nektos"; repo = "act"; rev = "refs/tags/v${version}"; hash = "sha256-7e2ehUM3d5hcFtaahW/hrhVkpy74ufMdYwdnbsUA+WM="; }; vendorHash = "sha256-2fHNiquFg6I0JefqXfXRrnXxKPkNQOtQB7fznldO3GE="; doCheck = false; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; passthru = { tests.version = testers.testVersion { package = act; }; updateScript = nix-update-script { }; }; meta = { description = "Run your GitHub Actions locally"; mainProgram = "act"; homepage = "https://github.com/nektos/act"; changelog = "https://github.com/nektos/act/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Br1ght0ne kashw2 ]; }; }