12 rustPlatform.buildRustPackage rec {
13 pname = "symbolicator";
16 src = fetchFromGitHub {
18 repo = "symbolicator";
20 hash = "sha256-thc1VXKtOc+kgIMHGDBp4InaSFG9mK9WYS7g90b5Fzs=";
21 fetchSubmodules = true;
25 lockFile = ./Cargo.lock;
27 "cpp_demangle-0.4.1" = "sha256-9QopX2TOJc8bZ+UlSOFdjoe8NTJLVGrykyFL732tE3A=";
28 "reqwest-0.12.2" = "sha256-m46NyzsgXsDxb6zwVXP0wCdtCH+rb5f0x+oPNHuBF8s=";
34 rustPlatform.bindgenHook
41 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
42 darwin.apple_sdk.frameworks.Security
43 darwin.apple_sdk.frameworks.SystemConfiguration
47 SYMBOLICATOR_GIT_VERSION = src.rev;
48 SYMBOLICATOR_RELEASE = version;
49 ZSTD_SYS_USE_PKG_CONFIG = true;
52 # tests require network access
56 description = "Native Symbolication as a Service";
57 homepage = "https://getsentry.github.io/symbolicator/";
58 changelog = "https://github.com/getsentry/symbolicator/blob/${src.rev}/CHANGELOG.md";
59 license = licenses.mit;
60 maintainers = with maintainers; [ figsoda ];
61 mainProgram = "symbolicator";