Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 27 lines 714 B view raw
1{ lib, fetchFromGitHub, buildGoModule }: 2 3buildGoModule rec { 4 pname = "act"; 5 version = "0.2.13"; 6 7 src = fetchFromGitHub { 8 owner = "nektos"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "112vmq9wg31alw9lw1jmsdvkd7kz1d9ak4p9dli7vgr9rhdf0hnb"; 12 }; 13 14 vendorSha256 = "0bcrw3hf92m7n58lrlm0vj1wiwwy82q2rl1a725q3d6xwvi5kh9h"; 15 16 doCheck = false; 17 18 buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; 19 20 meta = with lib; { 21 description = "Run your GitHub Actions locally"; 22 homepage = "https://github.com/nektos/act"; 23 changelog = "https://github.com/nektos/act/releases/tag/v${version}"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ filalex77 ]; 26 }; 27}