792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
28 lines
768 B
Nix
28 lines
768 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, curl, breakpad, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sentry-native";
|
|
version = "0.4.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getsentry";
|
|
repo = "sentry-native";
|
|
rev = version;
|
|
sha256 = "sha256-XHJa4erDxSFiy0u8S9ODQlMNDb1wrz+d1PzWeq5BZLY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ curl breakpad pkg-config ];
|
|
cmakeFlags = [
|
|
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
|
"-DSENTRY_BREAKPAD_SYSTEM=On"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/getsentry/sentry-native";
|
|
description = "Sentry SDK for C, C++ and native applications.";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ wheelsandmetal ];
|
|
};
|
|
}
|