kingfisher: init at 1.102.0 (#538380)

This commit is contained in:
Fabian Affolter
2026-07-06 07:10:29 +00:00
committed by GitHub
+67
View File
@@ -0,0 +1,67 @@
{
lib,
boost,
cmake,
fetchFromGitHub,
libgit2,
nix-update-script,
openssl,
pkg-config,
rust-jemalloc-sys,
rustPlatform,
sqlite,
versionCheckHook,
zlib,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "kingfisher";
version = "1.102.0";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "mongodb";
repo = "kingfisher";
tag = "v${finalAttrs.version}";
hash = "sha256-ksTpxjBGYfZIFx93O0Wa+Z4qbLdur+5oETWHiH6BiNM=";
};
cargoHash = "sha256-+m7rDZvR1nJmNj1IPydQdMq+/Xl7yVdrUO42BxRmkQY=";
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
boost
libgit2
openssl
rust-jemalloc-sys
sqlite
zlib
];
nativeInstallCheckInputs = [ versionCheckHook ];
env = {
LIBSQLITE3_SYS_USE_PKG_CONFIG = true;
};
doInstallCheck = true;
# Integration tests exceed memory limits and can crash
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool to detect leaked secrets and perform live validation";
homepage = "https://github.com/mongodb/kingfisher";
changelog = "https://github.com/mongodb/kingfisher/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "kingfisher";
};
})