chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / gi / gittuf / package.nix
blob8dfca387e94accd9b414a59b02e4afedb01874a9
1 { lib, fetchFromGitHub, buildGoModule, git, openssh }:
3 buildGoModule rec {
4   pname = "gittuf";
5   version = "0.6.2";
7   src = fetchFromGitHub {
8     owner = "gittuf";
9     repo = pname;
10     rev = "v${version}";
11     hash = "sha256-iPaYwZUnIu9GeyY4kBhj+9gIINYx+pGSWJqPekh535g=";
12   };
14   vendorHash = "sha256-mafN+Nrr0AtfMjnXNoEIuz90kJa58pgY2vUOlv7v+TE=";
16   ldflags = [ "-X github.com/gittuf/gittuf/internal/version.gitVersion=${version}" ];
18   nativeCheckInputs = [ git openssh ];
19   checkFlags = [ "-skip=TestLoadRepository" "-skip=TestSSH" ];
21   postInstall = "rm $out/bin/cli"; # remove gendoc cli binary
23   meta = with lib; {
24     changelog = "https://github.com/gittuf/gittuf/blob/v${version}/CHANGELOG.md";
25     description = "Security layer for Git repositories";
26     homepage = "https://gittuf.dev";
27     license = licenses.asl20;
28     mainProgram = "gittuf";
29     maintainers = with maintainers; [ flandweber ];
30   };