evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / se / sentry-native / package.nix
blob0960229a89801d2026c6d9702b9d3f4201abfdf4
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , cmake
5 , curl
6 , breakpad
7 , pkg-config
8 }:
10 stdenv.mkDerivation rec {
11   pname = "sentry-native";
12   version = "0.7.11";
14   src = fetchFromGitHub {
15     owner = "getsentry";
16     repo = "sentry-native";
17     rev = version;
18     hash = "sha256-IDtymBIG5ilTHyFZ/EA2YJK72wvz7kHn2o9gbu7ejKM=";
19   };
21   nativeBuildInputs = [
22     cmake
23     pkg-config
24   ];
26   buildInputs = [
27     curl
28     breakpad
29   ];
31   cmakeBuildType = "RelWithDebInfo";
33   cmakeFlags = [
34     "-DSENTRY_BREAKPAD_SYSTEM=On"
35     "-DSENTRY_BACKEND=breakpad"
36   ];
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   };