krep: init at 0.3.4 (#392965)

This commit is contained in:
Arne Keller
2025-04-03 16:02:15 +02:00
committed by GitHub
+42
View File
@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "krep";
version = "0.3.4";
src = fetchFromGitHub {
owner = "davidesantangelo";
repo = "krep";
rev = "v${finalAttrs.version}";
hash = "sha256-kAsOAcEFjfxlJs6fJvB0viCMxGFCG1BUs9qPgGMvBpM=";
};
makeFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
"ENABLE_ARCH_DETECTION=0"
];
installFlags = [
"PREFIX=${placeholder "out"}"
];
doCheck = true;
doInstallCheck = true;
nativeInstallCheck = [ versionCheckHook ];
meta = {
description = "Blazingly fast string search utility designed for performance-critical applications";
homepage = "https://github.com/davidesantangelo/krep";
changelog = "https://github.com/davidesantangelo/krep/releases/tag/v${finalAttrs.version}";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [
codebam
];
platforms = lib.platforms.unix;
};
})