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
54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
bzip2,
|
|
openssl,
|
|
zstd,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "symbolicator";
|
|
version = "25.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getsentry";
|
|
repo = "symbolicator";
|
|
rev = version;
|
|
hash = "sha256-1pjp2ryzoiI/brXv/clrseh0LPs1ZW67vk5QT1l6KCk=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
cargoHash = "sha256-L3+ZQC9rVUpkkQs1KzdCtYA/hj1F6K8mf7aJpxfRh+0=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
rustPlatform.bindgenHook
|
|
];
|
|
|
|
buildInputs = [
|
|
bzip2
|
|
openssl
|
|
zstd
|
|
];
|
|
|
|
env = {
|
|
SYMBOLICATOR_GIT_VERSION = src.rev;
|
|
SYMBOLICATOR_RELEASE = version;
|
|
ZSTD_SYS_USE_PKG_CONFIG = true;
|
|
};
|
|
|
|
# tests require network access
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Native Symbolication as a Service";
|
|
homepage = "https://getsentry.github.io/symbolicator/";
|
|
changelog = "https://github.com/getsentry/symbolicator/blob/${src.rev}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "symbolicator";
|
|
};
|
|
}
|