Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 46 lines 926 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.7.6"; 13 14 src = fetchFromGitHub { 15 owner = "getsentry"; 16 repo = "sentry-native"; 17 rev = version; 18 hash = "sha256-yriFV6OLk+miaKKWQKd08MmwDx0blkiiyq6gQHUaNWE="; 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 "-DSENTRY_BACKEND=breakpad" 36 ]; 37 38 meta = with lib; { 39 homepage = "https://github.com/getsentry/sentry-native"; 40 description = "Sentry SDK for C, C++ and native applications"; 41 changelog = "https://github.com/getsentry/sentry-native/blob/${version}/CHANGELOG.md"; 42 license = licenses.mit; 43 platforms = platforms.linux; 44 maintainers = with maintainers; [ wheelsandmetal daniel-fahey ]; 45 }; 46}