at 23.11-beta 45 lines 881 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5, curl 6, breakpad 7, pkg-config 8}: 9 10stdenv.mkDerivation rec { 11 pname = "sentry-native"; 12 version = "0.6.7"; 13 14 src = fetchFromGitHub { 15 owner = "getsentry"; 16 repo = "sentry-native"; 17 rev = version; 18 hash = "sha256-pEFfs8xjc+6r+60aJF4Sjjy/oSU/+ADWgOBpS3t9rWI="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 curl 28 breakpad 29 ]; 30 31 cmakeBuildType = "RelWithDebInfo"; 32 33 cmakeFlags = [ 34 "-DSENTRY_BREAKPAD_SYSTEM=On" 35 ]; 36 37 meta = with lib; { 38 homepage = "https://github.com/getsentry/sentry-native"; 39 description = "Sentry SDK for C, C++ and native applications"; 40 changelog = "https://github.com/getsentry/sentry-native/blob/${version}/CHANGELOG.md"; 41 license = licenses.mit; 42 platforms = platforms.linux; 43 maintainers = with maintainers; [ wheelsandmetal ]; 44 }; 45}