[Backport release-26.05] teamtype: De-vendor libgit2 (#536634)

This commit is contained in:
nixpkgs-ci[bot]
2026-06-29 23:30:46 +00:00
committed by GitHub

View File

@@ -5,6 +5,8 @@
versionCheckHook,
installShellFiles,
nix-update-script,
pkg-config,
libgit2,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -22,7 +24,18 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-OIOffnCC9PlT/SXPOuTnKx3feZnkHP+jzbQIJWX0tzk=";
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [
installShellFiles
pkg-config
];
buildInputs = [
libgit2
];
env = {
LIBGIT2_NO_VENDOR = 1;
};
postInstall = ''
installManPage \
@@ -50,8 +63,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
mainProgram = "teamtype";
teams = [ lib.teams.ngi ];
maintainers = with lib.maintainers; [
prince213
alerque
ethancedwards8
prince213
];
};
})