1 { lib, fetchFromGitHub, buildGoModule, git, openssh }:
7 src = fetchFromGitHub {
11 hash = "sha256-iPaYwZUnIu9GeyY4kBhj+9gIINYx+pGSWJqPekh535g=";
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
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 ];