blob: 05349d9b3f2a41e21e233c3f9aa5e36f2aeba730 (
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
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
curl,
breakpad,
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sentry-native";
version = "0.16.5";
src = fetchFromGitHub {
owner = "getsentry";
repo = "sentry-native";
tag = finalAttrs.version;
hash = "sha256-dUhkfYXJJrQ11hBjIqL3fa91ENPIb3jGeRC7iU0Tx9c=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
curl
breakpad
];
cmakeBuildType = "RelWithDebInfo";
cmakeFlags = [
"-DSENTRY_BREAKPAD_SYSTEM=On"
"-DSENTRY_BACKEND=breakpad"
];
meta = {
homepage = "https://github.com/getsentry/sentry-native";
description = "Sentry SDK for C, C++ and native applications";
changelog = "https://github.com/getsentry/sentry-native/blob/${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
wheelsandmetal
daniel-fahey
];
};
})
|