blob: 4d70b1ee494e4d1b0c0c042280d80f8edc73d7bf (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
bzip2,
openssl,
zstd,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "symbolicator";
version = "25.3.0";
src = fetchFromGitHub {
owner = "getsentry";
repo = "symbolicator";
rev = version;
hash = "sha256-/8Jo/M51ulrQFzXKkcFXTYfh9a3w6C5oW6A/bDFcRp0=";
fetchSubmodules = true;
};
useFetchCargoVendor = true;
cargoHash = "sha256-mWvCvzqTUzpxYYxf8KWjxfo4E7oS9oNVbeVxx8J3QwI=";
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
buildInputs =
[
bzip2
openssl
zstd
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
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";
};
}
|