a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
44 lines
883 B
Nix
44 lines
883 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, curl
|
|
, breakpad
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sentry-native";
|
|
version = "0.5.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getsentry";
|
|
repo = "sentry-native";
|
|
rev = version;
|
|
hash = "sha256-qRtr+Og75eowKJjezRSGlRp9Ps2A75zY80IqZMRa4Sw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
curl
|
|
breakpad
|
|
];
|
|
|
|
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";
|
|
changelog = "https://github.com/getsentry/sentry-native/blob/${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ wheelsandmetal ];
|
|
};
|
|
}
|