Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
rdkafka,
|
|
pkg-config,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
fetchzip,
|
|
versionCheckHook,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "parseable";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "parseablehq";
|
|
repo = "parseable";
|
|
tag = "v${version}";
|
|
hash = "sha256-0PyXrwFh2YroxeAPL2GCZiOUfzFLThN0ZnL0a7BDnfw=";
|
|
};
|
|
|
|
LOCAL_ASSETS_PATH = fetchzip {
|
|
url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v${version}/build.zip";
|
|
hash = "sha256-7uJvWAGDexzWhnm1ofPHzoRD8Q70fQ+eyUPpQHcWv4o=";
|
|
};
|
|
|
|
cargoHash = "sha256-VAdivS7zxoFrjeTnRGbUqtEgCj73iF29ZiCUfzdP1Yo=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ rdkafka ];
|
|
|
|
buildFeatures = [ "rdkafka/dynamic-linking" ];
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
versionCheckProgramArg = "--version";
|
|
doInstallCheck = true;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Disk less, cloud native database for logs, observability, security, and compliance";
|
|
homepage = "https://www.parseable.com";
|
|
changelog = "https://github.com/parseablehq/parseable/releases/tag/v${version}";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = with lib.maintainers; [ ilyakooo0 ];
|
|
mainProgram = "parseable";
|
|
};
|
|
}
|