pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / ac / act / package.nix
blobb81967bec1475a20f7a8a12a643af1240aa3a9d6
2   lib,
3   fetchFromGitHub,
4   buildGoModule,
5 }:
7 let
8   version = "0.2.68";
9 in
10 buildGoModule {
11   pname = "act";
12   inherit version;
14   src = fetchFromGitHub {
15     owner = "nektos";
16     repo = "act";
17     rev = "refs/tags/v${version}";
18     hash = "sha256-BON29uUruBoeBLoBdOgnonrVIyLZlvBW5UyWfxFgjPs=";
19   };
21   vendorHash = "sha256-yxuOORShJL9nFIS5srZFI31Nyz7xFxnJCmcN8UFhyr0=";
23   doCheck = false;
25   ldflags = [
26     "-s"
27     "-w"
28     "-X main.version=${version}"
29   ];
31   meta = {
32     description = "Run your GitHub Actions locally";
33     mainProgram = "act";
34     homepage = "https://github.com/nektos/act";
35     changelog = "https://github.com/nektos/act/releases/tag/v${version}";
36     license = lib.licenses.mit;
37     maintainers = with lib.maintainers; [
38       Br1ght0ne
39       kashw2
40     ];
41   };