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