Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / sentry-native / default.nix
blob95ba1dc68e5121b06542f870d973372a479ad147
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.6.7";
14   src = fetchFromGitHub {
15     owner = "getsentry";
16     repo = "sentry-native";
17     rev = version;
18     hash = "sha256-pEFfs8xjc+6r+60aJF4Sjjy/oSU/+ADWgOBpS3t9rWI=";
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   ];
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   };